Controller.Create(Type, IServiceProvider) Method
In This Article
Instantiates a Controller object of the specified type and raises its Controller.AfterConstruction event.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public static Controller Create(
Type controllerType,
IServiceProvider serviceProvider
)
#Parameters
Name | Type | Description |
---|---|---|
controller |
Type | A Type object that defines the type of the new Controller object. |
service |
IService |
An |
#Returns
Type | Description |
---|---|
Controller | A Controller object. |
See Also