private void InstantiateRepositories()
        {
            ISQLiteTable[] unitReposTables = new ISQLiteTable[]
            {
                Singletons.TableContainerSingleton.UnitTable,
                Singletons.TableContainerSingleton.FactionTable,
                Singletons.TableContainerSingleton.StatsTable
            };

            UnitRepository = new SQLiteRepository(unitReposTables);
        }
Exemplo n.º 2
0
 public GetSecurityPassportUseCase()
 {
     sqliteRepository   = Locator.Current.GetService <ISQLiteRepository>();
     securityRepository = Locator.Current.GetService <ISecurityRepository>();
 }
Exemplo n.º 3
0
 public ContactRepository(ISQLiteRepository sqlite)
 {
     _sqlite = sqlite;
 }
Exemplo n.º 4
0
 public UserRepository(ISQLiteRepository sqlite)
 {
     _sqlite = sqlite;
 }
Exemplo n.º 5
0
 public MessageRepository(ISQLiteRepository sqlite)
 {
     _sqlite = sqlite;
 }
 public SettingsService(ISQLiteRepository iSQLiteRepository, ISettingsFactory settingsFactory)
 {
     this.settingsFactory   = settingsFactory;
     _KeyName               = this.settingsFactory.KeyName;
     this.iSQLiteRepository = iSQLiteRepository;
 }
 public SaveTemperatureUseCase()
 {
     sqliteRepository     = Locator.Current.GetService <ISQLiteRepository>();
     sincroPendingUseCase = Locator.Current.GetService <SincroPendingUseCase>();
 }
 public ItemService(IHttpService httpService, ISQLiteRepository sqLiteRepository)
 {
     this.httpService      = httpService;
     this.sqLiteRepository = sqLiteRepository;
 }
Exemplo n.º 9
0
 public ConfigRepository(ISQLiteRepository sqlite)
 {
     _sqlite = sqlite;
 }
 public SincroPendingUseCase()
 {
     sqliteRepository   = Locator.Current.GetService <ISQLiteRepository>();
     securityRepository = Locator.Current.GetService <ISecurityRepository>();
 }