Table of Contents

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

List<CSharpAttribute>

Identifier

The fully qualified name of the type.

CSharpIdentifier Identifier { get; }

Property Value

CSharpIdentifier

Summary

A summary used for an XML documentation comment.

string? Summary { get; set; }

Property Value

string

Methods

ToSyntax()

Returns a Roslyn syntax for a file containing the type.

CompilationUnitSyntax ToSyntax()

Returns

CompilationUnitSyntax