View Source
Class InstallSetupStep<T>
Model to give to the front-end to collect the information for each step
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "step", Namespace = "")]
public abstract class InstallSetupStep<T> : InstallSetupStep
Type Parameters
Properties
View Source
StepType
Defines the step model type on the server side so we can bind it
Declaration
[IgnoreDataMember]
public override Type StepType { get; }
Property Value
Methods
View Source
ExecuteAsync(T)
The step execution method
Declaration
public abstract Task<InstallSetupResult> ExecuteAsync(T model)
Parameters
Type |
Name |
Description |
T |
model |
|
Returns
View Source
RequiresExecution(T)
Determines if this step needs to execute based on the current state of the application and/or install process
Declaration
public abstract bool RequiresExecution(T model)
Parameters
Type |
Name |
Description |
T |
model |
|
Returns
Type |
Description |
System.Boolean |
|