public static async Task InitializeService(LoginResult login, IDCService service) { MyService = service; Application.Current.Properties["userName"] = login.Login.Username; Application.Current.Properties["password"] = login.Login.Password; await App.Current.SavePropertiesAsync(); Log.Verbose("Login information saved"); }
public CurrentContestCompetitorsPageModel() { _service = App.MyService; InfoText = AppResources.ContestPageInfo; }
public CameraPageModel() { _service = App.MyService; }
public MyEventsPageModel() { _service = App.MyService; }
public CurrentEventPageModel() { _service = App.MyService; }
public DistrictCoordinatorController(IDCService dcService, ILogger <DistrictCoordinatorController> logger) { _dcService = dcService; _logger = logger; }
public RegistrationDeskPageModel() { _service = App.MyService; SetVisibility(true, false, false); InfoText = AppResources.RegDeskPageInfo; }
public DCServiceWrapper() { _clientProvider = new HttpClientProvider(); _service = new DCService(_clientProvider); _logger = Log.ForContext(GetType()); }
public ContestCheckinPageModel() { _service = App.MyService; }
public ProfilePageModel() { _service = App.MyService; }