The MetricCollection type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| Add(String, Int32) |
Adds a metric value to this collection.
| |
| Add(String, Int32, Boolean) |
Adds a metric value to this collection, specifying whether the metric passed or failed.
| |
| AddMany |
Adds a collection of metrics to this collection.
| |
| Clear |
Removes all metrics from this MetricCollection.
| |
| Contains |
Determines whether the specified metric is contained in this MetricCollection.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FromString |
Initializes an instance of the MetricCollection class, from the specified text.
| |
| Get |
Retrieves a metric from this collection.
| |
| GetEnumerator |
Returns an enumerator that iterates over the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Returns a string that represents the current MetricCollection.
(Overrides Object ToString .) |
See Also