The AssertionsDefinition type exposes the following members.

Constructors

  Name Description
Public method AssertionsDefinition

Methods

  Name Description
Public method AllowInstances(String)
Defines that instances of Types that matches the provided name are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(array<String>[]()[][])
Defines that instances of Types that matches the provided names are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(Type)
Defines that instances of the provided type are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(array<Type>[]()[][])
Defines that instances of the provided types are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(TypeSet)
Defines that instances of any type in the provided typeSet are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(String, Boolean)
Defines that instances of Types that matches the provided name (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(array<String>[]()[][], Boolean)
Defines that instances of Types that matches the provided names (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(Type, Boolean)
Defines that instances of the provided type (and optionally its subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowInstances(array<Type>[]()[][], Boolean)
Defines that instances of the provided types (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(String)
Defines that new instances of Types that matches the provided name are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(array<String>[]()[][])
Defines that new instances of Types that matches the provided names are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(Type)
Defines that new instances of the provided type are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(array<Type>[]()[][])
Defines that new instances of the provided types are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(TypeSet)
Defines that new instances of any type in the provided typeSet are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(String, Boolean)
Defines that new instances of Types that matches the provided name (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(array<String>[]()[][], Boolean)
Defines that new instances of Types that matches the provided names (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(Type, Boolean)
Defines that new instances of the provided type (and optionally its subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method AllowNewInstances(array<Type>[]()[][], Boolean)
Defines that new instances of the provided types (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method MaxBytes(String, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of Types that matches the provided name when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(array<String>[]()[][], Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of Types that matches the provided names when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(Type, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of the provided type when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(array<Type>[]()[][], Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of the provided types when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(TypeSet, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of any type in the provided typeSet when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(String, Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of Types that matches the provided name (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(array<String>[]()[][], Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of Types that matches the provided names (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(Type, Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of the provided type (and optionally its subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxBytes(array<Type>[]()[][], Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by live instances of the provided types (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(String, Int32)
Defines that no more than a specified number of instances of Types that matches the provided name are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(array<String>[]()[][], Int32)
Defines that no more than a specified number of instances of Types that matches the provided names are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(Type, Int32)
Defines that no more than a specified number of instances of the provided type are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(array<Type>[]()[][], Int32)
Defines that no more than a specified number of instances of the provided types are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(TypeSet, Int32)
Defines that no more than a specified number of instances of any type in the provided typeSet are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(String, Boolean, Int32)
Defines that no more than a specified number of instances of Types that matches the provided name (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(array<String>[]()[][], Boolean, Int32)
Defines that no more than a specified number of instances of Types that matches the provided names (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(Type, Boolean, Int32)
Defines that no more than a specified number of instances of the provided type (and optionally its subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxInstances(array<Type>[]()[][], Boolean, Int32)
Defines that no more than a specified number of instances of the provided types (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(String, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of Types that matches the provided name when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(array<String>[]()[][], Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of Types that matches the provided names when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(Type, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of the provided type when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(array<Type>[]()[][], Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of the provided types when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(TypeSet, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of any type in the provided typeSet when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(String, Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of Types that matches the provided name (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(array<String>[]()[][], Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of Types that matches the provided names (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(Type, Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of the provided type (and optionally its subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewBytes(array<Type>[]()[][], Boolean, Int64)
Defines that no more than a specified number of bytes are allowed to be used by new live instances of the provided types (and optionally their subclasses) when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(String, Int32)
Defines that no more than a specified number of new instances of Types that matches the provided name are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(array<String>[]()[][], Int32)
Defines that no more than a specified number of new instances of Types that matches the provided names are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(Type, Int32)
Defines that no more than a specified number of new instances of the provided type are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(array<Type>[]()[][], Int32)
Defines that no more than a specified number of new instances of the provided types are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(TypeSet, Int32)
Defines that no more than a specified number of new instances of any type in the provided typeSet are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(String, Boolean, Int32)
Defines that no more than a specified number of new instances of Types that matches the provided name (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(array<String>[]()[][], Boolean, Int32)
Defines that no more than a specified number of new instances of Types that matches the provided names (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(Type, Boolean, Int32)
Defines that no more than a specified number of new instances of the provided type (and optionally its subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method MaxNewInstances(array<Type>[]()[][], Boolean, Int32)
Defines that no more than a specified number of new instances of the provided types (and optionally their subclasses) are allowed to exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NoInstances(String)
Defines that no instances of the Types that matches the provided name (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(array<String>[]()[][])
Defines that no instances of Types that matches the provided names should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(Type)
Defines that no instances of the provided type should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(array<Type>[]()[][])
Defines that no instances of the provided types should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(TypeSet)
Defines that no instances of any type in the provided typeSet should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(String, Boolean)
Defines that no instances of the Types that matches the provided name (and optionally its subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(array<String>[]()[][], Boolean)
Defines that no instances of Types that matches the provided names (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(Type, Boolean)
Defines that no instances of the provided type (and optionally its subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoInstances(array<Type>[]()[][], Boolean)
Defines that no instances of the provided types (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances()()()()
Defines that no new instances should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(String)
Defines that no new instances of the Types that matches the provided name should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(array<String>[]()[][])
Defines that no new instances of Types that matches the provided names should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(Type)
Defines that no new instances of the provided type should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(array<Type>[]()[][])
Defines that no new instances of the provided types should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(TypeSet)
Defines that no new instances of any type in the provided typeSet should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(String, Boolean)
Defines that no new instances of the Types that matches the provided name (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(array<String>[]()[][], Boolean)
Defines that no new instances of Types that matches the provided names (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(Type, Boolean)
Defines that no new instances of the provided type (and optionally its subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method NoNewInstances(array<Type>[]()[][], Boolean)
Defines that no new instances of the provided types (and optionally their subclasses) should exist when this definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also