public FirebaseContextBase() { _networkService = MainContainer.ResolveInstance <INetworkService>(); _firebaseSettings = MainContainer.ResolveInstance <IFirebaseSettings>(); _modelConfiguration = MainContainer.ResolveInstance <IDocumentConfiguration <TModel> >(); _documentModelBuilder = MainContainer.ResolveInstance <IDocumentModelBuilder <TModel> >(); Configure(_modelConfiguration); _documentModelBuilder.SetModelConfiguration(_modelConfiguration); }
public DocumentModelBuilder(IDocumentSerializer jsonDocumentSerializer, IFirebaseSettings firebaseSettings) { _jsonDocumentSerializer = jsonDocumentSerializer; _firebaseSettings = firebaseSettings; }
public AuthenticationContext(IFirebaseSettings settings, INetworkService networkService, IDocumentSerializer jsonSerializer) { _settings = settings; _networkService = networkService; _jsonSerializer = jsonSerializer; }