Table of Contents

Class CSharpConstructor

Namespace
NanoByte.CodeGeneration
Assembly
NanoByte.CodeGeneration.dll

A constructor for a CSharpClass.

public class CSharpConstructor
Inheritance
CSharpConstructor
Inherited Members

Constructors

CSharpConstructor(CSharpIdentifier)

Creates a new constructor.

public CSharpConstructor(CSharpIdentifier type)

Parameters

type CSharpIdentifier

The fully qualified name of the class that the constructor instantiates.

Properties

Parameters

The parameters for the constructor.

public List<CSharpParameter> Parameters { get; }

Property Value

List<CSharpParameter>

Type

The fully qualified name of the class that the constructor instantiates.

public CSharpIdentifier Type { get; }

Property Value

CSharpIdentifier

Methods

ToString()

Returns the name of the class that the constructor instantiates.

public override string ToString()

Returns

string