C# Class NStub.CSharp.ObjectGeneration.ConstructorAssignment

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

Méthodes publiques

Méthode Description
ConstructorAssignment ( string parameterName, CodeAssignStatement assignStatement, CodeMemberField memberField, Type type ) : System

Initializes a new instance of the ConstructorAssignment class.

Method Details

ConstructorAssignment() public méthode

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.
Résultat System