• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Struct UmbracoEntityReference

    Used to track reference to other entities in a property value

    Namespace: Umbraco.Cms.Core.Models.Editors
    Assembly: Umbraco.Core.dll
    Syntax
    public struct UmbracoEntityReference

    Constructors

    View Source

    UmbracoEntityReference(Udi)

    Declaration
    public UmbracoEntityReference(Udi udi)
    Parameters
    Type Name Description
    Udi udi
    View Source

    UmbracoEntityReference(Udi, String)

    Declaration
    public UmbracoEntityReference(Udi udi, string relationTypeAlias)
    Parameters
    Type Name Description
    Udi udi
    System.String relationTypeAlias

    Properties

    View Source

    RelationTypeAlias

    Declaration
    public readonly string RelationTypeAlias { get; }
    Property Value
    Type Description
    System.String
    View Source

    Udi

    Declaration
    public readonly Udi Udi { get; }
    Property Value
    Type Description
    Udi

    Methods

    View Source

    Empty()

    Declaration
    public static UmbracoEntityReference Empty()
    Returns
    Type Description
    UmbracoEntityReference
    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(UmbracoEntityReference)

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

    GetHashCode()

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

    IsEmpty(UmbracoEntityReference)

    Declaration
    public static bool IsEmpty(UmbracoEntityReference reference)
    Parameters
    Type Name Description
    UmbracoEntityReference reference
    Returns
    Type Description
    System.Boolean

    Operators

    View Source

    Equality(UmbracoEntityReference, UmbracoEntityReference)

    Declaration
    public static bool operator ==(UmbracoEntityReference left, UmbracoEntityReference right)
    Parameters
    Type Name Description
    UmbracoEntityReference left
    UmbracoEntityReference right
    Returns
    Type Description
    System.Boolean
    View Source

    Inequality(UmbracoEntityReference, UmbracoEntityReference)

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