Skip to main content
All docs
V25.2
  • 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.2.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