Share via


GenericParameterHelper Constructors

Definition

Overloads

GenericParameterHelper()

Initializes a new instance of the GenericParameterHelper class that satisfies the 'newable' constraint in C# generics.

GenericParameterHelper(Int32)

Initializes a new instance of the GenericParameterHelper class that initializes the Data property to a user-supplied value.

GenericParameterHelper()

Initializes a new instance of the GenericParameterHelper class that satisfies the 'newable' constraint in C# generics.

public:
 GenericParameterHelper();
public GenericParameterHelper ();
Public Sub New ()

Remarks

This constructor initializes the Data property to a random value.

Applies to

GenericParameterHelper(Int32)

Initializes a new instance of the GenericParameterHelper class that initializes the Data property to a user-supplied value.

public:
 GenericParameterHelper(int data);
public GenericParameterHelper (int data);
new Microsoft.VisualStudio.TestTools.UnitTesting.GenericParameterHelper : int -> Microsoft.VisualStudio.TestTools.UnitTesting.GenericParameterHelper
Public Sub New (data As Integer)

Parameters

data
Int32

Any integer value

Applies to