Skip to main content
All docs
V26.1
  • 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.v26.1.dll

    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