Search Results for

    Show / Hide Table of Contents
    View Source

    Class DataValueEditorFactory

    Provides a factory for creating IDataValueEditor instances.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public class DataValueEditorFactory : IDataValueEditorFactory

    Constructors

    View Source

    DataValueEditorFactory(IServiceProvider)

    Initializes a new instance of the DataValueEditorFactory class.

    Declaration
    public DataValueEditorFactory(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The service provider used to resolve dependencies.

    Methods

    View Source

    Create<TDataValueEditor>(params object[])

    Creates a new instance of the specified TDataValueEditor type.

    Declaration
    public TDataValueEditor Create<TDataValueEditor>(params object[] args) where TDataValueEditor : class, IDataValueEditor
    Parameters
    Type Name Description
    object[] args

    The constructor arguments for the data value editor.

    Returns
    Type Description
    TDataValueEditor

    A new instance of the specified data value editor type.

    Type Parameters
    Name Description
    TDataValueEditor

    The type of data value editor to create.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX