Name | Description | |
---|---|---|
MetricCollection Constructor | Create a new metric dictionary for the provided definition. |
The following tables list the members exposed by MetricCollection.
Name | Description | |
---|---|---|
MetricCollection Constructor | Create a new metric dictionary for the provided definition. |
Name | Description | |
---|---|---|
Count | The number of items in the dictionary. | |
Definition | The metric definition that owns this dictionary, meaning every metric is a specific instance of this metric definition. | |
IsReadOnly | Indicates whether the dictionary is read-only (meaning no new metrics can be added) or not. | |
Item | Overloaded. Retrieve metric packet by numeric index in collection. | |
Lock | Object Change Locking object. |
Name | Description | |
---|---|---|
Add | Add the supplied Metric item to this collection. | |
Clear | Clearing objects is not supported. | |
Contains | Indicates whether the specified metric object is contained in this dictionary. | |
ContainsKey | Overloaded. Determines whether the collection contains an element with the specified key. | |
CopyTo | Copies the entire contents of the dictionary into the provided array starting at the specified index. | |
IndexOf | Returns the zero-based index of the specified metric within the dictionary. | |
Insert | Inserting objects by index is not supported because the collection is sorted. | |
Remove | Removing objects is not supported. | |
RemoveAt | Removing objects by index is not supported because the collection is always read only. | |
ToArray | Copy the entire collection of metric instances into a new array. | |
TryGetValue | Overloaded. Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned. |
Name | Description | |
---|---|---|
OnCollectionChanged | Raises an event whenever our collection is changed to notify objects that want to know when we change. |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the collection's contents are changed to allow subscribers to automatically track changes. |