Share via


PexCreatableByConstructorAndSettersAttribute Constructors

Definition

Overloads

PexCreatableByConstructorAndSettersAttribute(Type)

Defines a creatable containing automatic properties only (C# 3.0 backing fields)

PexCreatableByConstructorAndSettersAttribute(Type, String, Boolean, String[])

Creates an instance of this type.

PexCreatableByConstructorAndSettersAttribute(Type)

Defines a creatable containing automatic properties only (C# 3.0 backing fields)

public:
 PexCreatableByConstructorAndSettersAttribute(Type ^ creatableType);
public PexCreatableByConstructorAndSettersAttribute (Type creatableType);
new Microsoft.Pex.Framework.Creatable.PexCreatableByConstructorAndSettersAttribute : Type -> Microsoft.Pex.Framework.Creatable.PexCreatableByConstructorAndSettersAttribute
Public Sub New (creatableType As Type)

Parameters

creatableType
Type

Type of the creatable.

Applies to

PexCreatableByConstructorAndSettersAttribute(Type, String, Boolean, String[])

Creates an instance of this type.

public:
 PexCreatableByConstructorAndSettersAttribute(Type ^ creatableType, System::String ^ nameFormat, bool ignoreCase, ... cli::array <System::String ^> ^ constructorArguments);
public PexCreatableByConstructorAndSettersAttribute (Type creatableType, string nameFormat, bool ignoreCase, params string[] constructorArguments);
new Microsoft.Pex.Framework.Creatable.PexCreatableByConstructorAndSettersAttribute : Type * string * bool * string[] -> Microsoft.Pex.Framework.Creatable.PexCreatableByConstructorAndSettersAttribute
Public Sub New (creatableType As Type, nameFormat As String, ignoreCase As Boolean, ParamArray constructorArguments 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.

constructorArguments
String[]

List of field names which are set by the constructor which takes their values as arguments.

Applies to