Class MetricTagExtensions
Inheritance
System.Object
MetricTagExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Tagging
Assembly:cs.temp.dll.dll
Syntax
public static class MetricTagExtensions
Methods
FromDictionary(Dictionary<String, String>)
Declaration
public static MetricTags FromDictionary(this Dictionary<string, string> source)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, System.String> | source |
Returns
Type | Description |
---|---|
MetricTags |
ToDictionary(MetricTags, Func<String, String>)
Declaration
public static Dictionary<string, string> ToDictionary(this MetricTags source, Func<string, string> tagValueFormatter = null)
Parameters
Type | Name | Description |
---|---|---|
MetricTags | source | |
System.Func<System.String, System.String> | tagValueFormatter |
Returns
Type | Description |
---|---|
Dictionary<System.String, System.String> |