PexCreatableByMethodAndSettersAttribute Constructors
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.
PexCreatableByMethodAndSettersAttribute(Type, String, Boolean, Type, String, String[]) |
Creates an instance of this type. |
PexCreatableByMethodAndSettersAttribute(Type, String, String, Boolean, Type, String, String[]) |
Creates an instance of this type. |
Creates an instance of this type.
public:
PexCreatableByMethodAndSettersAttribute(Type ^ creatableType, System::String ^ nameFormat, bool ignoreCase, Type ^ creationMethodDeclaringType, System::String ^ creationMethodName, ... cli::array <System::String ^> ^ creationMethodArgumentFieldNames);
public PexCreatableByMethodAndSettersAttribute(Type creatableType, string nameFormat, bool ignoreCase, Type creationMethodDeclaringType, string creationMethodName, params string[] creationMethodArgumentFieldNames);
new Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAndSettersAttribute : Type * string * bool * Type * string * string[] -> Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAndSettersAttribute
Public Sub New (creatableType As Type, nameFormat As String, ignoreCase As Boolean, creationMethodDeclaringType As Type, creationMethodName As String, ParamArray creationMethodArgumentFieldNames As String())
Parameters
- creatableType
- Type
Type of the creatable.
- nameFormat
- String
The format string to build further non-public field names. For example, {0}Field
- ignoreCase
- Boolean
if set to true
case is ignored both in the regular expression matching as well as in the property lookup.
- 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
Visual Studio SDK 2019 et Visual Studio SDK 2017
Produit | Versions |
---|---|
Visual Studio SDK | 2017, 2019 |
Creates an instance of this type.
public:
PexCreatableByMethodAndSettersAttribute(Type ^ creatableTypeAssembly, System::String ^ creatableTypeFullName, System::String ^ nameFormat, bool ignoreCase, Type ^ creationMethodDeclaringType, System::String ^ creationMethodName, ... cli::array <System::String ^> ^ creationMethodArgumentFieldNames);
public PexCreatableByMethodAndSettersAttribute(Type creatableTypeAssembly, string creatableTypeFullName, string nameFormat, bool ignoreCase, Type creationMethodDeclaringType, string creationMethodName, params string[] creationMethodArgumentFieldNames);
new Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAndSettersAttribute : Type * string * string * bool * Type * string * string[] -> Microsoft.Pex.Framework.Creatable.PexCreatableByMethodAndSettersAttribute
Public Sub New (creatableTypeAssembly As Type, creatableTypeFullName As String, nameFormat As String, ignoreCase As Boolean, 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.
- nameFormat
- String
The format string to build further non-public field names. For example, {0}Field
- ignoreCase
- Boolean
if set to true
case is ignored both in the regular expression matching as well as in the property lookup.
- 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
Visual Studio SDK 2019 et Visual Studio SDK 2017
Produit | Versions |
---|---|
Visual Studio SDK | 2017, 2019 |