PexCreatableByMethodAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PexCreatableByMethodAttribute(Type, Type, String, String[]) |
Creates an instance of this type. |
PexCreatableByMethodAttribute(Type, String, Type, String, String[]) |
Creates an instance of this type. |
PexCreatableByMethodAttribute(Type, Type, String, String[])
Creates an instance of this type.
public:
PexCreatableByMethodAttribute(Type ^ creatableType, Type ^ creationMethodDeclaringType, System::String ^ creationMethodName, ... cli::array <System::String ^> ^ creationMethodArgumentFieldNames);
public PexCreatableByMethodAttribute (Type creatableType, Type creationMethodDeclaringType, string creationMethodName, params string[] creationMethodArgumentFieldNames);
new Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAttribute : Type * Type * string * string[] -> Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAttribute
Public Sub New (creatableType As Type, creationMethodDeclaringType As Type, creationMethodName As String, ParamArray creationMethodArgumentFieldNames As String())
Parameters
- creatableType
- Type
Type of the creatable.
- creationMethodDeclaringType
- Type
Type which contains a creation method. May be null
for a value type.
- creationMethodName
- String
Name of the creation method. May be null
for the constructor.
- creationMethodArgumentFieldNames
- String[]
List of field names which are set by the creation method which takes their values as arguments.
Applies to
PexCreatableByMethodAttribute(Type, String, Type, String, String[])
Creates an instance of this type.
public:
PexCreatableByMethodAttribute(Type ^ creatableTypeAssembly, System::String ^ creatableTypeFullName, Type ^ creationMethodDeclaringType, System::String ^ creationMethodName, ... cli::array <System::String ^> ^ creationMethodArgumentFieldNames);
public PexCreatableByMethodAttribute (Type creatableTypeAssembly, string creatableTypeFullName, Type creationMethodDeclaringType, string creationMethodName, params string[] creationMethodArgumentFieldNames);
new Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAttribute : Type * string * Type * string * string[] -> Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAttribute
Public Sub New (creatableTypeAssembly As Type, creatableTypeFullName As String, creationMethodDeclaringType As Type, creationMethodName As String, ParamArray creationMethodArgumentFieldNames As String())
Parameters
- creatableTypeAssembly
- Type
The creatable type assembly.
- creatableTypeFullName
- String
Full name of the creatable type.
- creationMethodDeclaringType
- Type
Type which contains a creation method. May be null
for a value type.
- creationMethodName
- String
Name of the creation method. May be null
for the constructor.
- creationMethodArgumentFieldNames
- String[]
List of field names which are set by the creation method which takes their values as arguments.