The PatternTestInstanceState type exposes the following members.

Methods

  NameDescription
AddNameSuffix
Adds a suffix to the name base.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromContext
Gets the pattern test instance state from the specified context.
GetFixtureObjectCreationSpec
Gets a fixture object creation specification using the state's bound SlotValues.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTestMethodInvocationSpec
Gets a test method invocation specification using the state's bound SlotValues.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InvokeFixtureMethod
Invokes a fixture method using the specified slotValues.
InvokeTestMethod
Invokes the test method specified by TestMethod, FixtureInstance and TestArguments.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
BindingItem
Gets the data item obtained from the test's DataBindingContext to create this state.
Converter
Gets the converter for data binding.
Data
Gets the user data collection associated with the test instance state.
FixtureInstance
Gets or sets the test fixture instance or null if none.
FixtureType
Gets or sets the test fixture type or null if none.
Formatter
Gets the formatter for data binding.
IsReusingPrimaryTestStep
Returns true if the TestStep is the PrimaryTestStep that was created for the test.
NameBase
Gets or sets the basic name of the test instance which usually consists of the method or class name and a description of its bound argument values.
SlotValues
Gets a mutable dictionary of slots and their bound values.
Test
Gets the test associated with this test instance state.
TestArguments
Gets or sets the test method arguments or null if none.
TestInstanceActions
Gets the test instance actions.
TestMethod
Gets or sets the test method or null if none.
TestParameterValues
Gets a mutable dictionary of values assigned to test parameters.
TestState
Gets the test state associated with this test instance state.
TestStep
Gets the test step used to execute the test instance.

See Also