Search Results for

    Show / Hide Table of Contents
    View Source

    Struct CompositeNStringNStringKey

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

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

    The string parts of the key are case-insensitive.

    Null is a valid value for both parts.

    Constructors

    View Source

    CompositeNStringNStringKey(String, String)

    Initializes a new instance of the CompositeNStringNStringKey struct.

    Declaration
    public CompositeNStringNStringKey(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(CompositeNStringNStringKey)

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

    GetHashCode()

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

    Operators

    View Source

    Equality(CompositeNStringNStringKey, CompositeNStringNStringKey)

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

    Inequality(CompositeNStringNStringKey, CompositeNStringNStringKey)

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