Click or drag to resize

AssignActT Class

This class represents the Act of assigning a property or indexer.
Inheritance Hierarchy
SystemObject
  SmartTestsActBase
    SmartTestsActT
      SmartTests.ActsAssignActT

Namespace:  SmartTests.Acts
Assembly:  SmartTests (in SmartTests.dll) Version: 1.9.0
Syntax
public class AssignAct<T> : Act<T>, 
	IAssignee

Type Parameters

T
The type of the property or indexer.

The AssignActT type exposes the following members.

Constructors
  NameDescription
Public methodAssignActT
Creates an instance of AssignActT to represent an assignment of a property or indexer in the Act part of your test.
Top
Properties
  NameDescription
Public propertyAssertions
The Smart Assertion implied in the Associated RunTest Overload methods, if any.
(Inherited from ActBase.)
Public propertyAssignedValue
The value to assign.
Public propertyConstructor
The ConstructorInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyContext
Gets the context of this Act.
(Inherited from ActBase.)
Public propertyException
The thrown Exception when running RunTest Overload methods, if any.
(Inherited from ActBase.)
Public propertyField
The FieldInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyInstance
The instance of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyMember
The MemberInfo of the Act prt of the test, if any.
(Inherited from ActBase.)
Public propertyMethod
The MethodInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyProperty
The PropertyInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke
Run the Act part of your test.
(Overrides ActTInvoke(ActContext).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

DO NOT USE DIRECTLY.

Prefer using RunTest Overload methods.

See Also