Search Results for

    Show / Hide Table of Contents
    View Source

    Class UdiGetterExtensions

    Provides extension methods that return udis for Umbraco entities.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class UdiGetterExtensions

    Methods

    View Source

    GetUdi(IEntity)

    Gets the entity identifier of the entity.

    Declaration
    public static Udi GetUdi(this IEntity entity)
    Parameters
    Type Name Description
    IEntity entity

    The entity.

    Returns
    Type Description
    Udi

    The entity identifier of the entity.

    View Source

    GetUdi(EntityContainer)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this EntityContainer entity)
    Parameters
    Type Name Description
    EntityContainer entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IContent)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IContent entity)
    Parameters
    Type Name Description
    IContent entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IContentBase)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IContentBase entity)
    Parameters
    Type Name Description
    IContentBase entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IContentType)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IContentType entity)
    Parameters
    Type Name Description
    IContentType entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IContentTypeComposition)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IContentTypeComposition entity)
    Parameters
    Type Name Description
    IContentTypeComposition entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IDataType)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IDataType entity)
    Parameters
    Type Name Description
    IDataType entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IDictionaryItem)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IDictionaryItem entity)
    Parameters
    Type Name Description
    IDictionaryItem entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(ILanguage)

    Gets the entity identifier of the entity.

    Declaration
    public static StringUdi GetUdi(this ILanguage entity)
    Parameters
    Type Name Description
    ILanguage entity

    The entity.

    Returns
    Type Description
    StringUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMacro)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMacro entity)
    Parameters
    Type Name Description
    IMacro entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMedia)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMedia entity)
    Parameters
    Type Name Description
    IMedia entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMediaType)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMediaType entity)
    Parameters
    Type Name Description
    IMediaType entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMember)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMember entity)
    Parameters
    Type Name Description
    IMember entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMemberGroup)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMemberGroup entity)
    Parameters
    Type Name Description
    IMemberGroup entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IMemberType)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IMemberType entity)
    Parameters
    Type Name Description
    IMemberType entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IPartialView)

    Gets the entity identifier of the entity.

    Declaration
    public static StringUdi GetUdi(this IPartialView entity)
    Parameters
    Type Name Description
    IPartialView entity

    The entity.

    Returns
    Type Description
    StringUdi

    The entity identifier of the entity.

    View Source

    GetUdi(IRelationType)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this IRelationType entity)
    Parameters
    Type Name Description
    IRelationType entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(ITemplate)

    Gets the entity identifier of the entity.

    Declaration
    public static GuidUdi GetUdi(this ITemplate entity)
    Parameters
    Type Name Description
    ITemplate entity

    The entity.

    Returns
    Type Description
    GuidUdi

    The entity identifier of the entity.

    View Source

    GetUdi(Script)

    Gets the entity identifier of the entity.

    Declaration
    public static StringUdi GetUdi(this Script entity)
    Parameters
    Type Name Description
    Script entity

    The entity.

    Returns
    Type Description
    StringUdi

    The entity identifier of the entity.

    View Source

    GetUdi(Stylesheet)

    Gets the entity identifier of the entity.

    Declaration
    public static StringUdi GetUdi(this Stylesheet entity)
    Parameters
    Type Name Description
    Stylesheet entity

    The entity.

    Returns
    Type Description
    StringUdi

    The entity identifier of the entity.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetUdi(IEntity)
      • GetUdi(EntityContainer)
      • GetUdi(IContent)
      • GetUdi(IContentBase)
      • GetUdi(IContentType)
      • GetUdi(IContentTypeComposition)
      • GetUdi(IDataType)
      • GetUdi(IDictionaryItem)
      • GetUdi(ILanguage)
      • GetUdi(IMacro)
      • GetUdi(IMedia)
      • GetUdi(IMediaType)
      • GetUdi(IMember)
      • GetUdi(IMemberGroup)
      • GetUdi(IMemberType)
      • GetUdi(IPartialView)
      • GetUdi(IRelationType)
      • GetUdi(ITemplate)
      • GetUdi(Script)
      • GetUdi(Stylesheet)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX