public StorageViewModel( IUserInteractionService userInteractionService, IFirebaseStorage firebaseStorage) { _userInteractionService = userInteractionService; _firebaseStorage = firebaseStorage; InitCommands(); }
public SQLProjectRepository(AppDbContext dbContext, RoleManager <IdentityRole> roleManager, UserManager <IdentityUser> userManager, IFirebaseStorage firebaseStorage) { _context = dbContext; this.roleManager = roleManager; this.userManager = userManager; this.firebaseStorage = firebaseStorage; }
public ChatVM(IChatService chatService) { _chatService = chatService; _firebaseAuth = DependencyService.Get <IFirebaseAuth>(); _firebaseStorage = DependencyService.Get <IFirebaseStorage>(); _firebaseDatabase = DependencyService.Get <IFirebaseDatabase>(); //FakeData(); _chatService.NewMessageReceived += ChatVM_NewMessageReceived; GetUser().ContinueWith(x => GetDataFromFirebase()); }
public IssueController(ILogger <IssueController> logger, IIssueRepository issueRepository, IProjectRepository projectRepository, UserManager <IdentityUser> userManager, IWebHostEnvironment hostingEnvironment, IFirebaseStorage firebaseStorage ) { _logger = logger; _issueRepository = issueRepository; _projectRepository = projectRepository; this.userManager = userManager; this.hostingEnvironment = hostingEnvironment; this.firebaseStorage = firebaseStorage; }
private void Initialize(IServiceAccountCredentials credentials) { var creds = credentials ?? throw new ArgumentNullException(nameof(credentials)); Auth = new FirebaseAuth(creds, Configuration); if (FirebaseServiceAccess.Database == (Configuration.RequestedAccess & FirebaseServiceAccess.Database)) { Database = new FirebaseDatabase(creds, Configuration); } if (FirebaseServiceAccess.Storage == (Configuration.RequestedAccess & FirebaseServiceAccess.Storage)) { Storage = new FirebaseStorage(creds, Configuration); } if (FirebaseServiceAccess.CloudMessaging == (Configuration.RequestedAccess & FirebaseServiceAccess.CloudMessaging)) { CloudMessaging = new FirebaseCloudMessaging(creds, Configuration); } }
public TestVM() { _firebaseStorage = DependencyService.Get <IFirebaseStorage>(); }
public SQLIssueRepository(AppDbContext Context, IFirebaseStorage fireBaseStorage) { _context = Context; this.fireBaseStorage = fireBaseStorage; }
public ScheduleUpdater(ICloudService cloudService, IFirebaseStorage firebaseStorage, IPreferences preferences) { _cloudService = cloudService; _firebaseStorage = firebaseStorage; _preferences = preferences; }