Class CSharpObjectCreation
- Namespace
- NanoByte.CodeGeneration
- Assembly
- NanoByte.CodeGeneration.dll
An object creation expression (a new T(args) call) describing how to instantiate a type.
public class CSharpObjectCreation
- Inheritance
-
objectCSharpObjectCreation
Constructors
CSharpObjectCreation(CSharpIdentifier)
An object creation expression (a new T(args) call) describing how to instantiate a type.
public CSharpObjectCreation(CSharpIdentifier type)
Parameters
typeCSharpIdentifierThe fully qualified name of the type to instantiate.
Properties
Parameters
The arguments to pass to the constructor.
public List<CSharpParameter> Parameters { get; }
Property Value
Type
The fully qualified name of the type to instantiate.
public CSharpIdentifier Type { get; }
Property Value
Methods
ToString()
Returns the name of the type being instantiated.
public override string ToString()