Exemplo n.º 1
0
        public async ValueTask <bool> HasBeenSetup(SetupService setupService)
        {
            if (this._hasBeenSetup != null)
            {
                return(this._hasBeenSetup.Value);
            }

            bool hasBeenSetup = await HasBeenSetupCore(setupService);

            this._hasBeenSetup = hasBeenSetup;

            if (hasBeenSetup)
            {
                return(true);
            }

            return(false);
        }
Exemplo n.º 2
0
 public RequestAppSetupState(AppSetupState appSetupState, SetupService setupService)
 {
     this._appSetupState = appSetupState;
     this._setupService  = setupService;
 }
Exemplo n.º 3
0
 private static async ValueTask <bool> HasBeenSetupCore(SetupService setupService)
 {
     return((await setupService.DetermineCurrentStep()).IsDone);
 }