The AllowInstancesAttribute type exposes the following members.

Properties

  Name Description
Public property IncludeSubclasses
Gets or sets a value indicating whether instances of all subclasses of the specified types should be checked when the target method has been executed.
(Inherited from AssertionAttribute.)
Public property Type
Gets the Type of the instances that should be checked when the target method has been executed.
(Inherited from AssertionAttribute.)
Public property TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public property TypeName
Gets the type name of the instances that should be checked when the target method has been executed.
(Inherited from AssertionAttribute.)

See Also