Table of Contents

Class MetricDescriptorEqualityComparer

Namespace
BenchmarkDotNet.Reports
Assembly
BenchmarkDotNet.dll
public class MetricDescriptorEqualityComparer : EqualityComparer<IMetricDescriptor>, IEqualityComparer, IEqualityComparer<IMetricDescriptor>
Inheritance
MetricDescriptorEqualityComparer
Implements
Inherited Members

Constructors

MetricDescriptorEqualityComparer()

public MetricDescriptorEqualityComparer()

Fields

Instance

public static readonly EqualityComparer<IMetricDescriptor> Instance

Field Value

EqualityComparer<IMetricDescriptor>

Methods

Equals(IMetricDescriptor, IMetricDescriptor)

public override bool Equals(IMetricDescriptor x, IMetricDescriptor y)

Parameters

x IMetricDescriptor
y IMetricDescriptor

Returns

bool

GetHashCode(IMetricDescriptor)

public override int GetHashCode(IMetricDescriptor obj)

Parameters

obj IMetricDescriptor

Returns

int