NanoByte Code Generation  0.3.1
Wrapper around Roslyn API to simplify generating C# code
NanoByte.CodeGeneration.ICSharpType Interface Reference

Describes a C# type for which code can be generated. More...

Inheritance diagram for NanoByte.CodeGeneration.ICSharpType:
NanoByte.CodeGeneration.CSharpType NanoByte.CodeGeneration.CSharpEnum NanoByte.CodeGeneration.CSharpInterface NanoByte.CodeGeneration.CSharpClass

Public Member Functions

CompilationUnitSyntax ToSyntax ()
 Returns a Roslyn syntax for a file containing the type. More...
 

Properties

CSharpIdentifier Identifier [get]
 The fully qualified name of the type. More...
 
string? Summary [get, set]
 A summary used for an XML documentation comment. More...
 
List< CSharpAttributeAttributes [get]
 Attributes to apply to the type. More...
 

Detailed Description

Describes a C# type for which code can be generated.

Member Function Documentation

◆ ToSyntax()

CompilationUnitSyntax NanoByte.CodeGeneration.ICSharpType.ToSyntax ( )

Returns a Roslyn syntax for a file containing the type.

Implemented in NanoByte.CodeGeneration.CSharpType.

Property Documentation

◆ Attributes

List<CSharpAttribute> NanoByte.CodeGeneration.ICSharpType.Attributes
get

Attributes to apply to the type.

◆ Identifier

CSharpIdentifier NanoByte.CodeGeneration.ICSharpType.Identifier
get

The fully qualified name of the type.

◆ Summary

string? NanoByte.CodeGeneration.ICSharpType.Summary
getset

A summary used for an XML documentation comment.


The documentation for this interface was generated from the following file: