Click or drag to resize

InvokeActT Class

This class represents the Act of invoking an expression.
Inheritance Hierarchy
SystemObject
  SmartTestsActBase
    SmartTestsActT
      SmartTests.ActsInvokeActT

Namespace:  SmartTests.Acts
Assembly:  SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax
public class InvokeAct<T> : Act<T>

Type Parameters

T
The result Type of the invocation involved in the Act part of your test.

The InvokeActT type exposes the following members.

Constructors
  NameDescription
Public methodInvokeActT(ExpressionFuncT)
Creates an instance of InvokeActT to represent an expression in the Act part of your test.
Public methodInvokeActT(ExpressionFuncActContext, T)
Creates an instance of InvokeActT to represent an expression in the Act part of your test while using the ActContext.
Top
Properties
  NameDescription
Public propertyAssertions
The Smart Assertion implied in the Associated RunTest Overload methods, if any.
(Inherited from ActBase.)
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.)
Public propertyResult
The returned value of the Act.
(Inherited from ActT.)
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