Table of Contents

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
object
CSharpObjectCreation

Constructors

CSharpObjectCreation(CSharpIdentifier)

An object creation expression (a new T(args) call) describing how to instantiate a type.

public CSharpObjectCreation(CSharpIdentifier type)

Parameters

type CSharpIdentifier

The fully qualified name of the type to instantiate.

Properties

Parameters

The arguments to pass to the constructor.

public List<CSharpParameter> Parameters { get; }

Property Value

List<CSharpParameter>

Type

The fully qualified name of the type to instantiate.

public CSharpIdentifier Type { get; }

Property Value

CSharpIdentifier

Methods

ToString()

Returns the name of the type being instantiated.

public override string ToString()

Returns

string