mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
16 lines
441 B
C#
16 lines
441 B
C#
using LanMountainDesktop.Launcher.Models;
|
|
|
|
namespace LanMountainDesktop.Launcher.Oobe;
|
|
|
|
internal sealed record OobeStepResult(bool ContinueLaunch, LauncherResult? Result = null)
|
|
{
|
|
public static OobeStepResult Continue { get; } = new(true);
|
|
|
|
public static OobeStepResult Complete(LauncherResult result) => new(false, result);
|
|
}
|
|
|
|
internal interface IOobeStep
|
|
{
|
|
Task<OobeStepResult> RunAsync(CancellationToken cancellationToken);
|
|
}
|