Search Results for

    Show / Hide Table of Contents
    View Source

    Class DataValueReferenceFactoryCollection

    Provides a builder collection for IDataValueReferenceFactory items.

    Inheritance
    System.Object
    BuilderCollectionBase<IDataValueReferenceFactory>
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public class DataValueReferenceFactoryCollection : BuilderCollectionBase<IDataValueReferenceFactory>, IBuilderCollection<IDataValueReferenceFactory>

    Constructors

    View Source

    DataValueReferenceFactoryCollection(Func<IEnumerable<IDataValueReferenceFactory>>)

    Initializes a new instance of the DataValueReferenceFactoryCollection class.

    Declaration
    public DataValueReferenceFactoryCollection(Func<IEnumerable<IDataValueReferenceFactory>> items)
    Parameters
    Type Name Description
    Func<IEnumerable<IDataValueReferenceFactory>> items

    The items.

    Methods

    View Source

    GetAllAutomaticRelationTypesAliases(PropertyEditorCollection)

    Declaration
    public ISet<string> GetAllAutomaticRelationTypesAliases(PropertyEditorCollection propertyEditors)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors
    Returns
    Type Description
    ISet<System.String>
    View Source

    GetAllReferences(IPropertyCollection, PropertyEditorCollection)

    Gets all unique references from the specified properties.

    Declaration
    public ISet<UmbracoEntityReference> GetAllReferences(IPropertyCollection properties, PropertyEditorCollection propertyEditors)
    Parameters
    Type Name Description
    IPropertyCollection properties

    The properties.

    PropertyEditorCollection propertyEditors

    The property editors.

    Returns
    Type Description
    ISet<UmbracoEntityReference>

    The unique references from the specified properties.

    View Source

    GetAutomaticRelationTypesAliases(IPropertyCollection, PropertyEditorCollection)

    Declaration
    public ISet<string> GetAutomaticRelationTypesAliases(IPropertyCollection properties, PropertyEditorCollection propertyEditors)
    Parameters
    Type Name Description
    IPropertyCollection properties
    PropertyEditorCollection propertyEditors
    Returns
    Type Description
    ISet<System.String>
    View Source

    GetAutomaticRelationTypesAliases(IDataEditor)

    Gets the automatic relation types aliases.

    Declaration
    public ISet<string> GetAutomaticRelationTypesAliases(IDataEditor dataEditor)
    Parameters
    Type Name Description
    IDataEditor dataEditor

    The data editor.

    Returns
    Type Description
    ISet<System.String>

    The automatic relation types aliases.

    View Source

    GetAutomaticRelationTypesAliases(PropertyEditorCollection)

    Gets all relation type aliases that are automatically tracked.

    Declaration
    public ISet<string> GetAutomaticRelationTypesAliases(PropertyEditorCollection propertyEditors)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors

    The property editors.

    Returns
    Type Description
    ISet<System.String>

    All relation type aliases that are automatically tracked.

    View Source

    GetReferences(IDataEditor, IEnumerable<Object>)

    Gets the references.

    Declaration
    public ISet<UmbracoEntityReference> GetReferences(IDataEditor dataEditor, IEnumerable<object> values)
    Parameters
    Type Name Description
    IDataEditor dataEditor

    The data editor.

    IEnumerable<System.Object> values

    The values.

    Returns
    Type Description
    ISet<UmbracoEntityReference>

    The references.

    View Source

    GetReferences(IDataEditor, Object[])

    Gets the references.

    Declaration
    public IEnumerable<UmbracoEntityReference> GetReferences(IDataEditor dataEditor, params object[] values)
    Parameters
    Type Name Description
    IDataEditor dataEditor

    The data editor.

    System.Object[] values

    The values.

    Returns
    Type Description
    IEnumerable<UmbracoEntityReference>

    The references.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DataValueReferenceFactoryCollection(Func<IEnumerable<IDataValueReferenceFactory>>)
    • Methods
      • GetAllAutomaticRelationTypesAliases(PropertyEditorCollection)
      • GetAllReferences(IPropertyCollection, PropertyEditorCollection)
      • GetAutomaticRelationTypesAliases(IPropertyCollection, PropertyEditorCollection)
      • GetAutomaticRelationTypesAliases(IDataEditor)
      • GetAutomaticRelationTypesAliases(PropertyEditorCollection)
      • GetReferences(IDataEditor, IEnumerable<Object>)
      • GetReferences(IDataEditor, Object[])
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX