A container interface visible to the user to create and access metric of particular type.
More...
|
T | Create (string name, string desc) |
| Creates metric of type T from name and description. More...
|
|
bool | Delete (string name) |
| Deletes a metric with given name and description. More...
|
|
A container interface visible to the user to create and access metric of particular type.
- Template Parameters
-
◆ Create()
Creates metric of type T from name and description.
- Exceptions
-
MetricsException | thrown if metric with the name already exists. |
- Parameters
-
name | Name of the metric. |
desc | Description of the metric. |
- Returns
- Newly created Metric.
◆ Delete()
Deletes a metric with given name and description.
- Parameters
-
- Returns
- True if the metric is deleted, false if it does not exist
◆ this[string name]
Indexer to access metric by name.
- Exceptions
-
MetricsException | thrown if metric with that name does not exist. |
- Parameters
-
- Returns
- Metric with given name.
The documentation for this interface was generated from the following file: