Search Results for

    Show / Hide Table of Contents
    View Source

    Delegate ServiceFactory

    A factory method used to resolve all services. For multiple instances, it will resolve against System.Collections.Generic.IEnumerable<T>.

    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public delegate object ServiceFactory(Type serviceType)
    Parameters
    Type Name Description
    Type serviceType

    Type of service to resolve.

    Returns
    Type Description
    object

    An instance of type serviceType.

    Constructors

    View Source

    ServiceFactory(object, nint)

    Declaration
    public ServiceFactory(object @object, nint method)
    Parameters
    Type Name Description
    object object
    nint method

    Methods

    View Source

    BeginInvoke(Type, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(Type serviceType, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    Type serviceType
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult
    View Source

    EndInvoke(IAsyncResult)

    Declaration
    public virtual object EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    object
    View Source

    Invoke(Type)

    Declaration
    public virtual object Invoke(Type serviceType)
    Parameters
    Type Name Description
    Type serviceType
    Returns
    Type Description
    object
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX