Search Results for

    Show / Hide Table of Contents

    Class DbMediaConversionFormatBase.IdComparer

    Compares two DbMediaConversionFormatBase classes based on their MediaConversionFormatId

    Inheritance
    System.Object
    DbMediaConversionFormatBase.IdComparer
    Implements
    System.Collections.Generic.IEqualityComparer<DbMediaConversionFormatBase>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.Common.DbEntities
    Assembly: ImageVault.Core.dll
    Syntax
    public class IdComparer : IEqualityComparer<DbMediaConversionFormatBase>

    Properties

    Instance

    Returns the singleton instance of the DbMediaConversionFormatBase.IdComparer class.

    Declaration
    public static DbMediaConversionFormatBase.IdComparer Instance { get; }
    Property Value
    Type Description
    DbMediaConversionFormatBase.IdComparer

    Methods

    Equals(DbMediaConversionFormatBase, DbMediaConversionFormatBase)

    Determines whether the specified DbMediaConversionFormatBase instances are considered equal.

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

    The first DbMediaConversionFormatBase to compare.

    DbMediaConversionFormatBase y

    The second DbMediaConversionFormatBase to compare.

    Returns
    Type Description
    System.Boolean

    true if x is the same instance as y or if both are null references or if x.Equals(y) returns true; otherwise, false.

    GetHashCode(DbMediaConversionFormatBase)

    Returns a hash code for the specified object.

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

    The System.Object for which a hash code is to be returned.

    Returns
    Type Description
    System.Int32

    A hash code for the specified object.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The type of obj is a reference type and obj is null.

    Implements

    System.Collections.Generic.IEqualityComparer<T>
    In This Article
    Back to top (c) Meriworks 2002-2022