Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    Controller.Create(Type, IServiceProvider) Method

    Instantiates a Controller object of the specified type and raises its Controller.AfterConstruction event.

    Namespace: DevExpress.ExpressApp

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    public static Controller Create(
        Type controllerType,
        IServiceProvider serviceProvider
    )

    Parameters

    Name Type Description
    controllerType Type

    A Type object that defines the type of the new Controller object.

    serviceProvider IServiceProvider

    An IServiceProvider object.

    Returns

    Type Description
    Controller

    A Controller object.

    See Also