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

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
Type Name Description
System.Int64 count
CounterValue.SetItem[] items

Fields

SetItemComparer

Declaration
public static readonly IComparer<CounterValue.SetItem> SetItemComparer
Field Value
Type Description
IComparer<CounterValue.SetItem>

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
Type Description
CounterValue.SetItem[]

The counter's set items.

Methods

Equals(CounterValue)

Declaration
public bool Equals(CounterValue other)
Parameters
Type Name Description
CounterValue other
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
Type Name Description
CounterValue left
CounterValue right
Returns
Type Description
System.Boolean

Inequality(CounterValue, CounterValue)

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