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
CSharpIdentifierThe fully qualified name of the class that the constructor instantiates.
Properties
Parameters
The parameters for the constructor.
public List<CSharpParameter> Parameters { get; }
Property Value
Type
The fully qualified name of the class that the constructor instantiates.
public CSharpIdentifier Type { get; }
Property Value
Methods
ToString()
Returns the name of the class that the constructor instantiates.
public override string ToString()