App Metrics Fork me on GitHub
Show / Hide Table of Contents

Struct MetricTags

Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace:App.Metrics.Tagging
Assembly:cs.temp.dll.dll
Syntax
public struct MetricTags : IEquatable<MetricTags>

Constructors

MetricTags(String, String)

Declaration
public MetricTags(string key, string value)
Parameters
Type Name Description
System.String key
System.String value

MetricTags(String[], String[])

Declaration
public MetricTags(string[] keys, string[] values)
Parameters
Type Name Description
System.String[] keys
System.String[] values

Fields

Empty

Declaration
public static readonly MetricTags Empty
Field Value
Type Description
MetricTags

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Keys

Declaration
public string[] Keys { get; }
Property Value
Type Description
System.String[]

Values

Declaration
public string[] Values { get; }
Property Value
Type Description
System.String[]

Methods

AsMetricName(String)

Declaration
public string AsMetricName(string metricName)
Parameters
Type Name Description
System.String metricName
Returns
Type Description
System.String

Concat(MetricTags, MetricTags)

Declaration
public static MetricTags Concat(MetricTags tags1, MetricTags tags2)
Parameters
Type Name Description
MetricTags tags1
MetricTags tags2
Returns
Type Description
MetricTags

Concat(MetricTags, Dictionary<String, String>)

Declaration
public static MetricTags Concat(MetricTags tags1, Dictionary<string, string> tags2)
Parameters
Type Name Description
MetricTags tags1
Dictionary<System.String, System.String> tags2
Returns
Type Description
MetricTags

Equals(MetricTags)

Declaration
public bool Equals(MetricTags other)
Parameters
Type Name Description
MetricTags other
Returns
Type Description
System.Boolean
Implements
System.IEquatable<T>.Equals(T)

Equals(MetricTags, MetricTags)

Declaration
public static bool Equals(MetricTags left, MetricTags right)
Parameters
Type Name Description
MetricTags left
MetricTags right
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

FromSetItemString(String)

Declaration
public static MetricTags FromSetItemString(string setItem)
Parameters
Type Name Description
System.String setItem
Returns
Type Description
MetricTags

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

Operators

Equality(MetricTags, MetricTags)

Declaration
public static bool operator ==(MetricTags left, MetricTags right)
Parameters
Type Name Description
MetricTags left
MetricTags right
Returns
Type Description
System.Boolean

Inequality(MetricTags, MetricTags)

Declaration
public static bool operator !=(MetricTags left, MetricTags right)
Parameters
Type Name Description
MetricTags left
MetricTags right
Returns
Type Description
System.Boolean
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX