Table of Contents

Class CSharpAttribute

Namespace
NanoByte.CodeGeneration
Assembly
NanoByte.CodeGeneration.dll
public class CSharpAttribute
Inheritance
CSharpAttribute
Inherited Members

Constructors

CSharpAttribute(CSharpIdentifier)

Creates a new attribute.

public CSharpAttribute(CSharpIdentifier identifier)

Parameters

identifier CSharpIdentifier

The type of the attribute.

Properties

Arguments

Arguments for the attribute.

public List<object> Arguments { get; }

Property Value

List<object>

Identifier

The type of the attribute.

public CSharpIdentifier Identifier { get; }

Property Value

CSharpIdentifier

NamedArguments

Named Arguments for the attribute.

public List<(string name, object value)> NamedArguments { get; }

Property Value

List<(string name, object value)>