The AssertionsDefinition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
AssertionsDefinition |
Methods
| Name | Description | |
|---|---|---|
|
|
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).
|
|
|
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).
|
|
|
AllowInstances(Type) |
Defines that instances of the provided type
are allowed to exist when this definition is asserted using
MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
|
|
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.) |
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
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).
|
|
|
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).
|
|
|
NoInstances(Type) |
Defines that no instances of the provided type
should exist when this definition is asserted using
MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
|
|
|
NoInstances(array<Type>[]()[][]) |
Defines that no instances of the provided types should exist when this
definition is asserted using MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
NoNewInstances()()()() |
Defines that no new instances should exist when this definition is asserted using
MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
|
|
|
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).
|
|
|
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).
|
|
|
NoNewInstances(Type) |
Defines that no new instances of the provided type
should exist when this definition is asserted using
MemAssertion.Assert(MemSnapShot, AssertionsDefinition, AssertionsThread).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
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).
|
|
|
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |