Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MetricCollection Class
Properties Methods Events


In This Topic
    MetricCollection Class Members
    In This Topic

    The following tables list the members exposed by MetricCollection.

    Public Constructors
     NameDescription
    Public ConstructorCreate a new metric dictionary for the provided definition.  
    Top
    Public Properties
     NameDescription
    Public PropertyThe number of items in the dictionary.  
    Public PropertyThe metric definition that owns this dictionary, meaning every metric is a specific instance of this metric definition.  
    Public PropertyIndicates whether the dictionary is read-only (meaning no new metrics can be added) or not.  
    Public PropertyOverloaded. Retrieve metric packet by numeric index in collection.  
    Public PropertyObject Change Locking object.  
    Top
    Public Methods
     NameDescription
    Public MethodAdd the supplied Metric item to this collection.  
    Public MethodClearing objects is not supported.  
    Public MethodIndicates whether the specified metric object is contained in this dictionary.  
    Public MethodOverloaded. Determines whether the collection contains an element with the specified key.  
    Public MethodCopies the entire contents of the dictionary into the provided array starting at the specified index.  
    Public MethodReturns the zero-based index of the specified metric within the dictionary.  
    Public MethodInserting objects by index is not supported because the collection is sorted.  
    Public MethodRemoving objects is not supported.  
    Public MethodRemoving objects by index is not supported because the collection is always read only.  
    Public MethodCopy the entire collection of metric instances into a new array.  
    Public MethodOverloaded. Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises an event whenever our collection is changed to notify objects that want to know when we change.  
    Top
    Public Events
     NameDescription
    Public EventRaised every time the collection's contents are changed to allow subscribers to automatically track changes.  
    Top
    See Also