public AnswerController(ILoggerFactory logger, IAnswerService answerService, IAzureService azureService, ISessionBase sessionBase) { _logger = logger.CreateLogger <AnswerController>(); _answerService = answerService; _azureService = azureService; _sessionId = sessionBase.SessionId; }
public AldoDeployer(IConfiguration configuration, IAzureService azureService, IDeploymentService deploymentService, INotificationService notificationService) { this.configuration = configuration; this.azureService = azureService; this.deploymentService = deploymentService; this.notificationService = notificationService; }
public MainViewModel() { TakePhotoCommand = new Command(async() => await TakePhoto()); SelectFromLibraryCommand = new Command(async() => await SelectFromLibrary()); RefreshCommand = new Command(async() => await Refresh()); azureService = DependencyService.Get <IAzureService>(); }
public LoginViewModel(IAzureService azureService, Page page) { _azureService = azureService as AzureService; _page = page; LoginCommand = new Command(ExecuteLoginCommand); }
public AzureInstallationService(IAzureService azureService, IPowerShellService powerShellService, ILog logger) { this.azureService = azureService; this.powerShellService = powerShellService; this.logger = logger; }
public EducationalOrganisationRepository(ICacheProvider cacheProvider, IAzureService azureService, ILog logger) { _cacheProvider = cacheProvider; _azureService = azureService; _logger = logger; }
public ServiceWorker() { DependencyInjector.Initialize(); var serviceProvider = DependencyInjector.ServiceProvider; azureService = serviceProvider.GetService <IAzureService>(); }
public AddIncidentDetailViewModel(INetworkService networkService, IUserDialogs userDialogs, IAzureService azureService, IMvxMessenger messenger) : base(networkService, userDialogs) { _azureService = azureService; _messenger = messenger; }
public AzureFilesService(IAzureService service, Action<Message> messageHandler = null, Action<ProgressMessage> progressHandler = null) { _service = service; SendMessage = messageHandler ?? (m => { }); SendProgress = progressHandler ?? (m => { }); }
public AzureFilesService(IAzureService service, Action <Message> messageHandler = null, Action <ProgressMessage> progressHandler = null) { _service = service; SendMessage = messageHandler ?? (m => { }); SendProgress = progressHandler ?? (m => { }); }
public BaseViewModel(INavigationService navigationService) { _navigationService = navigationService; NavigateCommand = new DelegateCommand <string>(Navigate); _azureService = App._azureService; _user = _azureService.GetUser(); }
public PBICapacitiesController(ILogger <PBICapacitiesController> logger, ICapacityService capacityService, IOptions <AppConfigSettings> settings, IAzureService azureService) { _logger = logger; _capacityService = capacityService; _settings = settings.Value; _azureService = azureService; }
public App(IPlatformInitializer initializer = null) : base(initializer) { #if (TEST) _azureService = new MockAzureService(); #else _azureService = AzureService.DefaultService; #endif }
public RecipeListViewModel() { InitializeAllRecipesGrouped(); _dataSvc = DependencyService.Get <IAzureService>(DependencyFetchTarget.GlobalInstance); // Listen to save message MessagingCenter.Subscribe <EditRecipeViewModel>(this, RecipeSavedMessage, async(obj) => await ReadRecipeData()); }
public MainViewModel() { MessagingCenter.Subscribe <IAzureService>(this, "LoggedIn", async s => await Refresh()); TakePhotoCommand = new Command(async() => await TakePhoto()); SelectFromLibraryCommand = new Command(async() => await SelectFromLibrary()); RefreshCommand = new Command(async() => await Refresh()); azureService = DependencyService.Get <IAzureService>(); }
public DeviceViewModel(IAzureService azureService, ISelectionService <IoTHubInfo> ioTHubInfoSelectionService, ISelectionService <IoTDeviceInfo> ioTDeviceSelectionService, IViewModelFactory viewModelFactory) { this.azureService = azureService; this.ioTHubInfoSelectionService = ioTHubInfoSelectionService; this.ioTDeviceSelectionService = ioTDeviceSelectionService; this.viewModelFactory = viewModelFactory; }
public VagaViewModel() { _azureService = DependencyService.Get <IAzureService>(); Title = "Vagas"; Cargos = new ObservableCollection <Cargo>(); Vagas = new ObservableCollection <Vaga>(); LoadVagasCommand = new Command <int>(ExecuteLoadVagasCommand); ShowDetalheVagaCommand = new Command <Vaga>(ExecuteShowDetalheVagaCommand); }
public AzureUnitsService( IMapper <LearningAimModel, Models.LearningAimModel> mapper, IUnitIndexService unitIndex, IODataQueryService oDataQueryService, IAzureService azureService, ISearchTermFormattingService searchTermFormattingService) : base(mapper, unitIndex, oDataQueryService, azureService, searchTermFormattingService) { }
public ApiService(AzureClient azure, FsService fs, CertService certs, AppSettings settings, CustomBasicAuthProvider authProvider, LoggingService log) { _azure = azure.GetRoot(); _fs = fs; _certs = certs; _settings = settings; _authProvider = authProvider; _log = log; }
public LocationTests() { // create empty database this.locationRepository = new LocationRepository(CreateEmptyDatabase()); this.azureService = new AzureServiceMock(); this.locationService = new LocationService(this.locationRepository, this.azureService); // create location controller this.locationController = new LocationController(this.locationService); }
public AzureTLevelService( ITelemetry telemetryClient, IMapper <FrameworkModel, Models.FrameworkModel> mapper, ITLevelIndexService tlevelIndex, IODataQueryService oDataQueryService, IAzureService azureService, ISearchTermFormattingService searchTermFormattingService) : base(telemetryClient, tlevelIndex, mapper, azureService, oDataQueryService, searchTermFormattingService) { }
public ApiService(IAzureClient azureClient, IFileSystem fs, ICertificateService certs, ISimpleCredentialStore credentialStore, LoggingService log, JobScheduler jobScheduler, SigningJobCreator jobCreator) { _azure = azureClient.GetRoot(); _azureClient = azureClient; _credentialStore = credentialStore; _log = log; _jobScheduler = jobScheduler; _jobCreator = jobCreator; }
public ModuleViewModel(IAzureService azureService, ISelectionService <IoTHubInfo> ioTHubInfoSelectionService, ISelectionService <IoTDeviceInfo> ioTDeviceSelectionService, ISelectionService <IoTModuleIdentityInfo> ioTModuleIdentityInfoSelectionService) { this.azureService = azureService; this.ioTHubInfoSelectionService = ioTHubInfoSelectionService; this.ioTDeviceSelectionService = ioTDeviceSelectionService; this.ioTModuleIdentityInfoSelectionService = ioTModuleIdentityInfoSelectionService; }
public AzureListViewModel( INavigationService navigationService, IAzureService <T> azureService, Func <T, K> resourceConstructor ) { _azureService = azureService; _navigationService = navigationService; this.resourceConstructor = resourceConstructor; Resources = new ObservableCollection <K>(); }
public HubViewModel(IAzureService azureService, ISelectionService <IoTHubInfo> iotHubSelectionService, ISelectionService <IoTDeviceInfo> deviceInfoSelectionService, ApplicationSettings settings ) { this.azureService = azureService; this.iotHubSelectionService = iotHubSelectionService; this.deviceInfoSelectionService = deviceInfoSelectionService; this.settings = settings; }
public AzureDownloadsService( IAzureService azureService, IMapper <DownloadDetailsModel, Models.DownloadDetailsModel> mapper, IDownloadsIndexService downloadsIndexService, ISearchTermFormattingService searchTermFormattingService) : base(searchTermFormattingService) { _azureService = azureService; _mapper = mapper; _downloadsIndexService = downloadsIndexService; }
public PhotosPageViewModel() { Title = "Photo List"; photos = new ObservableCollection <Photo>(); GetPhotosCommand = new Command( async() => await GetPhotos(), () => !IsBusy); dialogService = ServiceManager.GetObject <IDialogService>(); mobileService = ServiceManager.GetObject <IAzureService>(); }
public AzureLookupService( ITelemetry telemetry, ILookupIndexService lookupIndexService, IMapper <LookUpModel, Models.LookUpModel> mapper, IAzureService azureService) { _telemetry = telemetry; _lookupIndexService = lookupIndexService; _mapper = mapper; _azureService = azureService; }
public UserInfoController(IUserInfoService userService, IHttpContextAccessor contextAccessor, IUserInfoService userInfoService, IAzureService azureService, IUserInfoRepository userInfoRepository) { _userService = userService; _contextAccessor = contextAccessor; _userInfoService = userInfoService; _azureService = azureService; _userInfoRepository = userInfoRepository; }
public async Task InitializeStore() { if (azureService == null) { azureService = FreshIOC.Container.Resolve <IAzureService>(); } if (!azureService.IsInitialized) { await azureService.InitializeAsync().ConfigureAwait(false); } }
public MainPageViewModel() { Title = "My Money App"; IsBusy = false; _IFacebookService = DependencyService.Get <IFacebookService>(); _IAzureService = DependencyService.Get <IAzureService>(); _IAzureService.LogoutAsync(); LoginFacebookCommand = new Command(ExecuteLoginFacebookCommand); }
public AzureLearningAimsService( IMapper <LearningAimModel, Models.LearningAimModel> mapper, ILearningDeliveryIndexService learningDeliveryIndex, IODataQueryService oDataQueryService, IAzureService azureService, ISearchTermFormattingService searchTermFormattingService) : base(searchTermFormattingService) { _mapper = mapper; _learningDeliveryIndex = learningDeliveryIndex; _oDataQueryService = oDataQueryService; _azureService = azureService; }
public AzureClient(AppSettings settings) { var account = settings.GetString("AzureAccount"); if (account == "--SAMPLE--") { _root = AzureService.UseStorageEmulator(); } else { var key = settings.GetString("AzureKey"); _root = new AzureService(account, key); } }
public AzureStandardService( IStandardIndexService standardIndexService, IMapper <StandardModel, Models.StandardModel> mapper, IAzureService azureService, IODataQueryService oDataQueryService, ISearchTermFormattingService searchTermFormattingService) : base(searchTermFormattingService) { _standardIndexService = standardIndexService; _mapper = mapper; _azureService = azureService; _oDataQueryService = oDataQueryService; }
public DisplayIncidentViewModel(INetworkService networkService, IUserDialogs userDialogs, IAzureService azureService) : base(networkService, userDialogs) { _azureService = azureService; IncidentDetails = new List<DisplayIncidentDetailViewModel>(); }
private void GetAzureService(string account, string sas, string uri) { var azure = uri.StartsWith("http://127.0.0.1:10000") ? AzureService.CreateDeveloperSasService(account, sas) : AzureService.CreateSasService(account, sas); _service = azure; }
public WorkerQueueViewModel(INetworkService networkService, IUserDialogs userDialogs, IAzureService azureService) : base(networkService, userDialogs) { _azureService = azureService; }
/// <summary> /// Initializes a new instance of the <see cref="LoginService"/> class. /// </summary> /// <param name="loginActivity">The login activity.</param> /// <param name="azureServices">The Azure Service Container.</param> public LoginService(BaseViewController loginActivity, IAzureService azureServices) { _context = loginActivity; _azureServices = azureServices; }
public LoginService(Activity loginActivity, IAzureService azureServices) { _context = loginActivity; _azureServices = azureServices; }
/// <summary> /// Initializes a new instance of the <see cref="DashboardViewModel"/> class. /// </summary> /// <param name="networkService">The network service.</param> /// <param name="userDialogs">The user dialogs.</param> /// <param name="mobileService">Service for accessing Azure.</param> public DashboardViewModel(INetworkService networkService, IUserDialogs userDialogs, IAzureService mobileService) : base(networkService, userDialogs) { _azureService = mobileService; }