Initializes a new instance of NoInstancesAttribute
with the type of the instances that should be checked
after the target method has been executed.
Namespace:
SciTech.NetMemProfilerAssembly: MemProfiler2 (in MemProfiler2.dll)
Syntax
| C# |
|---|
public NoInstancesAttribute( string[] typeNames ) |
| Visual Basic |
|---|
Public Sub New ( _ typeNames As String() _ ) |
| Visual C++ |
|---|
public: NoInstancesAttribute( array<String^>^ typeNames ) |
Parameters
- typeNames
- Type: array<System..::..String>[]()[][]
An array containing the type names of the instances that should be checked.
Remarks
For more information see
AssertionsDefinition.NoInstances(array<String>[]()[][], Boolean) and
AssertionAttribute.