Show / Hide Table of Contents

    Class ConfigurationObjectComparer

    A comparer for objects that implement interfaces derived from IConfigurationObject.

    Inheritance
    System.Object
    ConfigurationObjectComparer
    Implements
    System.Collections.Generic.IEqualityComparer<IConfigurationObject>
    Namespace: OpenCollar.Extensions.Configuration
    Assembly: OpenCollar.Extensions.Configuration.dll
    Syntax
    public class ConfigurationObjectComparer : IEqualityComparer<IConfigurationObject>
    Remarks

    The following UML has been generated directly from the source code using Jebbs PlantUML .

    Properties

    | Improve this Doc View Source

    Instance

    Gets an instance of the comparer

    Declaration
    public static ConfigurationObjectComparer Instance { get; }
    Property Value
    Type Description
    ConfigurationObjectComparer

    The instance of the comparer

    Methods

    | Improve this Doc View Source

    Equals(IConfigurationObject, IConfigurationObject)

    Determines whether the specified objects are equal.

    Declaration
    public bool Equals(IConfigurationObject x, IConfigurationObject y)
    Parameters
    Type Name Description
    IConfigurationObject x

    The first object of type to compare.

    IConfigurationObject y

    The second object of type to compare.

    Returns
    Type Description
    System.Boolean

    true if the specified objects are equal; otherwise, false.

    | Improve this Doc View Source

    GetHashCode(IConfigurationObject)

    Returns a hash code for this instance.

    Declaration
    public int GetHashCode(IConfigurationObject obj)
    Parameters
    Type Name Description
    IConfigurationObject obj

    The object.

    Returns
    Type Description
    System.Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Implements

    System.Collections.Generic.IEqualityComparer<T>

    See Also

    System.Collections.Generic.IEqualityComparer<T>
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2019-2020 Jonathan Evans
    Version: 0.2.232