Show / Hide Table of Contents

    Class CounterMetricName

    Inheritance
    System.Object
    MetricName
    CounterMetricName
    Implements
    System.IEquatable<MetricName>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: NBench.Metrics.Counters
    Assembly: NBench.dll
    Syntax
    public class CounterMetricName : MetricName, IEquatable<MetricName>

    Constructors

    CounterMetricName(String)

    Declaration
    public CounterMetricName(string counterName)
    Parameters
    Type Name Description
    System.String counterName

    Properties

    CounterName

    Declaration
    public string CounterName { get; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(CounterMetricName)

    Declaration
    protected bool Equals(CounterMetricName other)
    Parameters
    Type Name Description
    CounterMetricName other
    Returns
    Type Description
    System.Boolean

    Equals(MetricName)

    Declaration
    public override bool Equals(MetricName other)
    Parameters
    Type Name Description
    MetricName other
    Returns
    Type Description
    System.Boolean
    Overrides
    MetricName.Equals(MetricName)

    Equals(Object)

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

    GetHashCode()

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

    ToHumanFriendlyString()

    Declaration
    public override string ToHumanFriendlyString()
    Returns
    Type Description
    System.String
    Overrides
    MetricName.ToHumanFriendlyString()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Operators

    Equality(CounterMetricName, CounterMetricName)

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

    Inequality(CounterMetricName, CounterMetricName)

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

    Implements

    System.IEquatable<T>
    Back to top Copyright © 2015-2020 Petabridge™, LLC