Search Results for

    Show / Hide Table of Contents
    View Source

    Struct CompositeTypeTypeKey

    Represents a composite key of (Type, Type) for fast dictionaries.

    Namespace: Umbraco.Cms.Core.Collections
    Assembly: Umbraco.Core.dll
    Syntax
    public struct CompositeTypeTypeKey

    Constructors

    View Source

    CompositeTypeTypeKey(Type, Type)

    Initializes a new instance of the CompositeTypeTypeKey struct.

    Declaration
    public CompositeTypeTypeKey(Type type1, Type type2)
    Parameters
    Type Name Description
    Type type1
    Type type2

    Properties

    View Source

    Type1

    Gets the first type.

    Declaration
    public readonly Type Type1 { get; }
    Property Value
    Type Description
    Type
    View Source

    Type2

    Gets the second type.

    Declaration
    public readonly Type Type2 { get; }
    Property Value
    Type Description
    Type

    Methods

    View Source

    Equals(Object)

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

    Equals(CompositeTypeTypeKey)

    Declaration
    public bool Equals(CompositeTypeTypeKey other)
    Parameters
    Type Name Description
    CompositeTypeTypeKey other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

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

    Operators

    View Source

    Equality(CompositeTypeTypeKey, CompositeTypeTypeKey)

    Declaration
    public static bool operator ==(CompositeTypeTypeKey key1, CompositeTypeTypeKey key2)
    Parameters
    Type Name Description
    CompositeTypeTypeKey key1
    CompositeTypeTypeKey key2
    Returns
    Type Description
    System.Boolean
    View Source

    Inequality(CompositeTypeTypeKey, CompositeTypeTypeKey)

    Declaration
    public static bool operator !=(CompositeTypeTypeKey key1, CompositeTypeTypeKey key2)
    Parameters
    Type Name Description
    CompositeTypeTypeKey key1
    CompositeTypeTypeKey key2
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CompositeTypeTypeKey(Type, Type)
    • Properties
      • Type1
      • Type2
    • Methods
      • Equals(Object)
      • Equals(CompositeTypeTypeKey)
      • GetHashCode()
    • Operators
      • Equality(CompositeTypeTypeKey, CompositeTypeTypeKey)
      • Inequality(CompositeTypeTypeKey, CompositeTypeTypeKey)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX