Search Results for

    Show / Hide Table of Contents
    View Source

    Struct CompositeStringStringKey

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

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

    The string parts of the key are case-insensitive.

    Null is NOT a valid value for neither parts.

    Constructors

    View Source

    CompositeStringStringKey(String, String)

    Initializes a new instance of the CompositeStringStringKey struct.

    Declaration
    public CompositeStringStringKey(string key1, string key2)
    Parameters
    Type Name Description
    System.String 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(CompositeStringStringKey)

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

    GetHashCode()

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

    Operators

    View Source

    Equality(CompositeStringStringKey, CompositeStringStringKey)

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

    Inequality(CompositeStringStringKey, CompositeStringStringKey)

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