C# Class NStub.CSharp.ObjectGeneration.ConstructorAssignment

Holds a mapping from constructor parameter names to code creation expressions statements and parameter data types.
Show file Open project: Jedzia/NStub Class Usage Examples

Public Methods

Method Description
ConstructorAssignment ( string parameterName, CodeAssignStatement assignStatement, CodeMemberField memberField, Type type ) : System

Initializes a new instance of the ConstructorAssignment class.

Method Details

ConstructorAssignment() public method

Initializes a new instance of the ConstructorAssignment class.
public ConstructorAssignment ( string parameterName, CodeAssignStatement assignStatement, CodeMemberField memberField, Type type ) : System
parameterName string Name of the parameter.
assignStatement System.CodeDom.CodeAssignStatement The assign statement for the parameter.
memberField System.CodeDom.CodeMemberField The related member field of the parameter.
type System.Type The type of the field.
return System