Search Results for

    Show / Hide Table of Contents

    Class ItemIdentifier

    Inheritance
    System.Object
    ItemIdentifier
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Quark.CMSAdapters.Core.Data
    Assembly: Quark.CMSAdapters.Core.dll
    Syntax
    public class ItemIdentifier

    Constructors

    ItemIdentifier(Object, String)

    Initializes a new instance of the ItemIdentifier class.

    Declaration
    public ItemIdentifier(object id, string name = null)
    Parameters
    Type Name Description
    System.Object id

    The identifier.

    System.String name

    The name.

    Exceptions
    Type Condition
    System.ArgumentException

    Id can not be null.

    Properties

    Id

    Gets or sets the identifier.

    Declaration
    public object Id { get; set; }
    Property Value
    Type Description
    System.Object

    The identifier.

    Name

    Gets or sets the name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The name.

    Methods

    Equals(Object)

    Determines whether the specified object is equal to this instance.

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

    The System.Object to compare with this instance.

    Returns
    Type Description
    System.Boolean

    true if the specified System.Object is equal to this instance; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this instance.

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

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    System.Object.GetHashCode()

    ToString()

    Returns a System.String that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents this instance.

    Overrides
    System.Object.ToString()

    Extension Methods

    UtilityExtensions.DeepClone<T>(T)
    UtilityExtensions.IsMethodImplemented(Object, String)
    UtilityExtensions.LogError(Object, String)
    UtilityExtensions.ShowAndLogError(Object)
    UtilityExtensions.ShowAndLogError(Object, Window)
    UtilityExtensions.ShowAndLogError(Object, String, Window, String, String)
    UtilityExtensions.GetJsonValue<T>(Object, String, Boolean)
    UtilityExtensions.ToAssetInfo(Object, Nullable<Boolean>)
    In This Article
    Back to top © 2022 Quark Software Inc. All rights reserved.