Class AbpApplicationFactory
- Namespace
- Volo.Abp
- Assembly
- Volo.Abp.Core.dll
public static class AbpApplicationFactory
- Inheritance
-
AbpApplicationFactory
- Inherited Members
-
Methods
Create(Type, IServiceCollection, Action<AbpApplicationCreationOptions>?)
public static IAbpApplicationWithExternalServiceProvider Create(Type startupModuleType, IServiceCollection services, Action<AbpApplicationCreationOptions>? optionsAction = null)
Parameters
startupModuleType
Type
services
IServiceCollection
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- IAbpApplicationWithExternalServiceProvider
Create(Type, Action<AbpApplicationCreationOptions>?)
public static IAbpApplicationWithInternalServiceProvider Create(Type startupModuleType, Action<AbpApplicationCreationOptions>? optionsAction = null)
Parameters
startupModuleType
Type
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- IAbpApplicationWithInternalServiceProvider
CreateAsync(Type, IServiceCollection, Action<AbpApplicationCreationOptions>?)
public static Task<IAbpApplicationWithExternalServiceProvider> CreateAsync(Type startupModuleType, IServiceCollection services, Action<AbpApplicationCreationOptions>? optionsAction = null)
Parameters
startupModuleType
Type
services
IServiceCollection
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- Task<IAbpApplicationWithExternalServiceProvider>
CreateAsync(Type, Action<AbpApplicationCreationOptions>?)
public static Task<IAbpApplicationWithInternalServiceProvider> CreateAsync(Type startupModuleType, Action<AbpApplicationCreationOptions>? optionsAction = null)
Parameters
startupModuleType
Type
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- Task<IAbpApplicationWithInternalServiceProvider>
CreateAsync<TStartupModule>(IServiceCollection, Action<AbpApplicationCreationOptions>?)
public static Task<IAbpApplicationWithExternalServiceProvider> CreateAsync<TStartupModule>(IServiceCollection services, Action<AbpApplicationCreationOptions>? optionsAction = null) where TStartupModule : IAbpModule
Parameters
services
IServiceCollection
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- Task<IAbpApplicationWithExternalServiceProvider>
Type Parameters
TStartupModule
CreateAsync<TStartupModule>(Action<AbpApplicationCreationOptions>?)
public static Task<IAbpApplicationWithInternalServiceProvider> CreateAsync<TStartupModule>(Action<AbpApplicationCreationOptions>? optionsAction = null) where TStartupModule : IAbpModule
Parameters
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- Task<IAbpApplicationWithInternalServiceProvider>
Type Parameters
TStartupModule
Create<TStartupModule>(IServiceCollection, Action<AbpApplicationCreationOptions>?)
public static IAbpApplicationWithExternalServiceProvider Create<TStartupModule>(IServiceCollection services, Action<AbpApplicationCreationOptions>? optionsAction = null) where TStartupModule : IAbpModule
Parameters
services
IServiceCollection
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- IAbpApplicationWithExternalServiceProvider
Type Parameters
TStartupModule
Create<TStartupModule>(Action<AbpApplicationCreationOptions>?)
public static IAbpApplicationWithInternalServiceProvider Create<TStartupModule>(Action<AbpApplicationCreationOptions>? optionsAction = null) where TStartupModule : IAbpModule
Parameters
optionsAction
Action<AbpApplicationCreationOptions>
Returns
- IAbpApplicationWithInternalServiceProvider
Type Parameters
TStartupModule