Files
Umbraco-CMS/src/Umbraco.Core/Installer/IInstallStep.cs
Bjarke Berg 28712bd5cd Make new backoffice packable (#14286)
* This moves around files and deletes the temp projects with files that are not moved to Core, Infrastructure etc.

Also moves the from new backoffice to static access, and override those with the old views in the legacy executeable

* Removes old files from the new executeable.

* Added missing files

* Added EF Core project to solution file

* fix build
2023-05-25 10:38:44 +02:00

24 lines
780 B
C#

using Umbraco.Cms.Core.Models.Installer;
namespace Umbraco.Cms.Core.Installer;
/// <summary>
/// Defines a step that's required to install Umbraco.
/// </summary>
public interface IInstallStep
{
/// <summary>
/// Executes the install step.
/// </summary>
/// <param name="model">InstallData model containing the data provided by the installer UI.</param>
/// <returns></returns>
Task ExecuteAsync(InstallData model);
/// <summary>
/// Determines if the step is required to execute.
/// </summary>
/// <param name="model">InstallData model containing the data provided by the installer UI.</param>
/// <returns>True if the step should execute, otherwise false.</returns>
Task<bool> RequiresExecutionAsync(InstallData model);
}