• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Struct CompositeIntStringKey

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

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

    The integer part of the key must be greater than, or equal to, zero.

    The string part of the key is case-insensitive.

    Null is a valid value for both parts.

    Constructors

    View Source

    CompositeIntStringKey(Nullable<Int32>, String)

    Initializes a new instance of the CompositeIntStringKey struct.

    Declaration
    public CompositeIntStringKey(int? key1, string key2)
    Parameters
    Type Name Description
    System.Nullable<System.Int32> key1
    System.String key2

    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(CompositeIntStringKey)

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

    GetHashCode()

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

    Operators

    View Source

    Equality(CompositeIntStringKey, CompositeIntStringKey)

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

    Inequality(CompositeIntStringKey, CompositeIntStringKey)

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