View Source
Class NewInstallStep
This is the first UI step for a brand new install
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class NewInstallStep : InstallSetupStep<UserModel>
Constructors
View Source
Declaration
public NewInstallStep(IUserService userService, DatabaseBuilder databaseBuilder, IHttpClientFactory httpClientFactory, IOptions<UserPasswordConfigurationSettings> passwordConfiguration, IOptions<SecuritySettings> securitySettings, IOptionsMonitor<ConnectionStrings> connectionStrings, ICookieManager cookieManager, IBackOfficeUserManager userManager, IDbProviderFactoryCreator dbProviderFactoryCreator, IEnumerable<IDatabaseProviderMetadata> databaseProviderMetadata)
Parameters
View Source
NewInstallStep(IUserService, DatabaseBuilder, IHttpClientFactory, IOptions<UserPasswordConfigurationSettings>, IOptions<SecuritySettings>, IOptionsMonitor<ConnectionStrings>, ICookieManager, IBackOfficeUserManager, IDbProviderFactoryCreator, IEnumerable<IDatabaseProviderMetadata>, ILocalizedTextService, IMetricsConsentService)
Declaration
public NewInstallStep(IUserService userService, DatabaseBuilder databaseBuilder, IHttpClientFactory httpClientFactory, IOptions<UserPasswordConfigurationSettings> passwordConfiguration, IOptions<SecuritySettings> securitySettings, IOptionsMonitor<ConnectionStrings> connectionStrings, ICookieManager cookieManager, IBackOfficeUserManager userManager, IDbProviderFactoryCreator dbProviderFactoryCreator, IEnumerable<IDatabaseProviderMetadata> databaseProviderMetadata, ILocalizedTextService localizedTextService, IMetricsConsentService metricsConsentService)
Parameters
Properties
View Source
View
Declaration
public override string View { get; }
Property Value
Type |
Description |
System.String |
|
View Source
ViewModel
Return a custom view model for this step
Declaration
public override object ViewModel { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
View Source
ExecuteAsync(UserModel)
Declaration
public override async Task<InstallSetupResult> ExecuteAsync(UserModel user)
Parameters
Returns
View Source
RequiresExecution(UserModel)
Declaration
public override bool RequiresExecution(UserModel model)
Parameters
Returns
Type |
Description |
System.Boolean |
|