Show / Hide Table of Contents

    Class TypeComparer

    Type equality comparer

    Inheritance
    Object
    TypeComparer
    Implements
    IEqualityComparer<Type>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.Extensions
    Assembly: XData.docfx.dll
    Syntax
    public class TypeComparer : IEqualityComparer<Type>

    Properties

    | Improve this Doc View Source

    Instance

    Type equality comparer instance

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

    Methods

    | Improve this Doc View Source

    Equals(Type, Type)

    Determines whether the specified types are equal.

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

    The first type to compare.

    Type y

    The second type to compare.

    Returns
    Type Description
    Boolean

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

    | Improve this Doc View Source

    GetHashCode(Type)

    Returns a hash code for the specified type.

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

    The type for which a hash code is to be returned.

    Returns
    Type Description
    Int32

    A hash code for the specified type.

    Implements

    System.Collections.Generic.IEqualityComparer<T>

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX