コード例 #1
0
        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);
        }
コード例 #2
0
 public DocumentModelBuilder(IDocumentSerializer jsonDocumentSerializer, IFirebaseSettings firebaseSettings)
 {
     _jsonDocumentSerializer = jsonDocumentSerializer;
     _firebaseSettings       = firebaseSettings;
 }
コード例 #3
0
 public AuthenticationContext(IFirebaseSettings settings, INetworkService networkService, IDocumentSerializer jsonSerializer)
 {
     _settings       = settings;
     _networkService = networkService;
     _jsonSerializer = jsonSerializer;
 }