public event EventHandler NoteListChangedEventHandler; // list changed completly #region Initialization private DataManager() { CurrentApplicationState = new ApplicationState(); _currentUser = null; _firebaseApiClient = new FirebaseApiClient(CurrentUser, LoginSequence); _facebookApiClient = App.FacebookApiClient; _facebookApiClient.SetFacebookAppID("351245998633700"); _database = new Database(App.FileHelper.PersistentLocalFilePath("mainSQLite.db3")); }
public AuthorizeUserWithFacebookCommandHandler( IFacebookApiClient facebookApiClient, ITenantProviderSettingsRepository providerSettingsRepository, ITenantsRepository tenantsRepository, IAuthRepository authRepository, IJwtTokenFactory jwtTokenFactory, IAvatarRepository avatarRepository, IGuid guid, IMapper mapper) { _facebookApiClient = facebookApiClient; _providerSettingsRepository = providerSettingsRepository; _tenantsRepository = tenantsRepository; _authRepository = authRepository; _jwtTokenFactory = jwtTokenFactory; _avatarRepository = avatarRepository; _guid = guid; _mapper = mapper; }
public static void Init(ICameraPageHelper cameraPageHelper, IFileHelper fileHelper, StyleHelper styleHelper, IFacebookApiClient facebookApiClient, IPDFHelper pdfHelper, IEMailHelper eMailHelper, ITestHelper testHelper) { if (!_initialized) { _initialized = true; CameraPageHelper = cameraPageHelper; FileHelper = fileHelper; StyleHelper = styleHelper; FacebookApiClient = facebookApiClient; PDFHelper = pdfHelper; EMailHelper = eMailHelper; TestHelper = testHelper; } }