Table of Contents

Class CSharpEnumValue

Namespace
NanoByte.CodeGeneration
Assembly
NanoByte.CodeGeneration.dll

A possible value for a CSharpEnum.

public class CSharpEnumValue
Inheritance
CSharpEnumValue
Inherited Members

Constructors

CSharpEnumValue(string)

Creates a new enum value.

public CSharpEnumValue(string name)

Parameters

name string

The name of the enum value.

Properties

Attributes

Attributes to apply to the enum value.

public List<CSharpAttribute> Attributes { get; }

Property Value

List<CSharpAttribute>

Name

The name of the enum value.

public string Name { get; }

Property Value

string

Summary

A summary used for an XML documentation comment.

public string? Summary { get; set; }

Property Value

string

Methods

ToString()

Returns the name of the enum value.

public override string ToString()

Returns

string