Interface ICSharpType
- Namespace
- NanoByte.CodeGeneration
- Assembly
- NanoByte.CodeGeneration.dll
Describes a C# type for which code can be generated.
public interface ICSharpType
- Extension Methods
Properties
Attributes
Attributes to apply to the type.
List<CSharpAttribute> Attributes { get; }
Property Value
Identifier
The fully qualified name of the type.
CSharpIdentifier Identifier { get; }
Property Value
Summary
A summary used for an XML documentation comment.
string? Summary { get; set; }
Property Value
Methods
ToSyntax()
Returns a Roslyn syntax for a file containing the type.
CompilationUnitSyntax ToSyntax()