Search Results for

    Show / Hide Table of Contents
    View Source

    Class GuidUdi

    Represents a guid-based entity identifier.

    Inheritance
    System.Object
    Udi
    Namespace: Umbraco.Cms.Core
    Assembly: Umbraco.Core.dll
    Syntax
    [TypeConverter(typeof(UdiTypeConverter))]
    public class GuidUdi : Udi

    Constructors

    View Source

    GuidUdi(String, Guid)

    Initializes a new instance of the GuidUdi class with an entity type and a guid.

    Declaration
    public GuidUdi(string entityType, Guid guid)
    Parameters
    Type Name Description
    System.String entityType

    The entity type part of the udi.

    Guid guid

    The guid part of the udi.

    View Source

    GuidUdi(Uri)

    Initializes a new instance of the GuidUdi class with an uri value.

    Declaration
    public GuidUdi(Uri uriValue)
    Parameters
    Type Name Description
    Uri uriValue

    The uri value of the udi.

    Properties

    View Source

    Guid

    The guid part of the identifier.

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

    IsRoot

    Gets a value indicating whether this Udi is a root Udi.

    Declaration
    public override bool IsRoot { get; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    A root Udi points to the "root of all things" for a given entity type, e.g. the content tree root.

    Methods

    View Source

    EnsureClosed()

    Declaration
    public GuidUdi EnsureClosed()
    Returns
    Type Description
    GuidUdi
    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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • GuidUdi(String, Guid)
      • GuidUdi(Uri)
    • Properties
      • Guid
      • IsRoot
    • Methods
      • EnsureClosed()
      • Equals(Object)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX