Struct CounterValue
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.Counter
Assembly:cs.temp.dll.dll
Syntax
public struct CounterValue
Constructors
CounterValue(Int64, CounterValue.SetItem[])
Declaration
public CounterValue(long count, CounterValue.SetItem[] items)
Parameters
Fields
SetItemComparer
Declaration
public static readonly IComparer<CounterValue.SetItem> SetItemComparer
Field Value
Properties
Count
Gets the total count of the counter instance.
Declaration
public long Count { get; }
Property Value
Type |
Description |
System.Int64 |
The count.
|
Items
Gets counters for each registered set item.
Declaration
public CounterValue.SetItem[] Items { get; }
Property Value
Methods
Equals(CounterValue)
Declaration
public bool Equals(CounterValue other)
Parameters
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)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Equality(CounterValue, CounterValue)
Declaration
public static bool operator ==(CounterValue left, CounterValue right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(CounterValue, CounterValue)
Declaration
public static bool operator !=(CounterValue left, CounterValue right)
Parameters
Returns
Type |
Description |
System.Boolean |
|