다음을 통해 공유


PexCreatableAsSingletonAttribute Constructors

Definition

Overloads

PexCreatableAsSingletonAttribute(Type, MemberInfo)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

PexCreatableAsSingletonAttribute(Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

PexCreatableAsSingletonAttribute(Type, Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

PexCreatableAsSingletonAttribute(Type, String, Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

PexCreatableAsSingletonAttribute(Type, MemberInfo)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

public:
 PexCreatableAsSingletonAttribute(Type ^ singletonType, System::Reflection::MemberInfo ^ fieldOrPropertyOrGetter);
public PexCreatableAsSingletonAttribute (Type singletonType, System.Reflection.MemberInfo fieldOrPropertyOrGetter);
new Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute : Type * System.Reflection.MemberInfo -> Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute
Public Sub New (singletonType As Type, fieldOrPropertyOrGetter As MemberInfo)

Parameters

singletonType
Type

Type of the singleton.

fieldOrPropertyOrGetter
MemberInfo

The field or property or getter.

Applies to

PexCreatableAsSingletonAttribute(Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

public:
 PexCreatableAsSingletonAttribute(Type ^ singletonType, System::String ^ fieldOrPropertyOrGetterName);
public PexCreatableAsSingletonAttribute (Type singletonType, string fieldOrPropertyOrGetterName);
new Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute : Type * string -> Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute
Public Sub New (singletonType As Type, fieldOrPropertyOrGetterName As String)

Parameters

singletonType
Type

Type of the singleton.

fieldOrPropertyOrGetterName
String

Name of the field or property or getter.

Applies to

PexCreatableAsSingletonAttribute(Type, Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

public:
 PexCreatableAsSingletonAttribute(Type ^ singletonType, Type ^ fieldOrPropertyOrGetterType, System::String ^ fieldOrPropertyOrGetterName);
public PexCreatableAsSingletonAttribute (Type singletonType, Type fieldOrPropertyOrGetterType, string fieldOrPropertyOrGetterName);
new Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute : Type * Type * string -> Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute
Public Sub New (singletonType As Type, fieldOrPropertyOrGetterType As Type, fieldOrPropertyOrGetterName As String)

Parameters

singletonType
Type

Type of the singleton.

fieldOrPropertyOrGetterType
Type

Type of the field or property or getter.

fieldOrPropertyOrGetterName
String

Name of the field or property or getter.

Applies to

PexCreatableAsSingletonAttribute(Type, String, Type, String)

Initializes a new instance of the PexCreatableAsSingletonAttribute class.

public:
 PexCreatableAsSingletonAttribute(Type ^ singletonTypeAssembly, System::String ^ singletonTypeFullName, Type ^ fieldOrPropertyOrGetterType, System::String ^ fieldOrPropertyOrGetterName);
public PexCreatableAsSingletonAttribute (Type singletonTypeAssembly, string singletonTypeFullName, Type fieldOrPropertyOrGetterType, string fieldOrPropertyOrGetterName);
new Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute : Type * string * Type * string -> Microsoft.Pex.Framework.Creatable.PexCreatableAsSingletonAttribute
Public Sub New (singletonTypeAssembly As Type, singletonTypeFullName As String, fieldOrPropertyOrGetterType As Type, fieldOrPropertyOrGetterName As String)

Parameters

singletonTypeAssembly
Type

The singleton type assembly.

singletonTypeFullName
String

Full name of the singleton type.

fieldOrPropertyOrGetterType
Type

Type of the field or property or getter.

fieldOrPropertyOrGetterName
String

Name of the field or property or getter.

Applies to