//private string _authBase = "http://192.168.0.9:8082/PTAuth/api/";
        public TestTransferConfigService(IEntitySerialiser entitySerialiser)
        {
            _entitySerialiser = entitySerialiser;
            //_tokenService = tokenService;

            BaseUrl = "https://api.projecttripod.com/API/";
        }
示例#2
0
 public LogService(IEntitySerialiser entitySerialiser,
                   IContextInfoService contextInfoService)
 {
     _entitySerialiser   = entitySerialiser;
     _contextInfoService = contextInfoService;
     _telemetry          = new TelemetryClient();
 }
示例#3
0
        //private string _authBase = "http://192.168.0.9:8082/PTAuth/api/";
        public TestTransferConfigService(IEntitySerialiser entitySerialiser)
        {
            _entitySerialiser = entitySerialiser;
            //_tokenService = tokenService;

            BaseUrl = "https://api.projecttripod.com/API/";
        }
示例#4
0
        public SqlServerRepository(IEntitySerialiser serialiser, IRepositoryConfig config, IDatabase database,
                                   ISqlBuilder <T> sqlBuilder)
        {
            InitColumnMapping();

            this.database = database;
            Serialiser    = serialiser;
            Config        = config;

            this.sqlBuilder = sqlBuilder;
            sqlBuilder.Init(Config, IdentityFieldName, IndexedColumnMetadata);
            InitSerialiser();
        }
示例#5
0
        public QueueMessageRepo(CloudQueueClient queueClient, IEntitySerialiser serialiser, ILogService logService)
        {
            _serialiser = serialiser;
            _logService = logService;

            var n = typeof(T).Name;

            if (!n.EndsWith("QueueMessage"))
            {
                throw new InvalidOperationException("Queue message breaks convention. Enure ends with QueueMessage");
            }

            n = n.Replace("QueueMessage", "");

            n = n.ToLower();

            _q = queueClient.GetQueueReference(n);
        }
示例#6
0
 public RoomRepo(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, ILogService logService) : base(downloader, entitySerialiser, logService, "")
 {
 }
 public InMemoryRepository(IEntitySerialiser serialiser, IRepositoryConfig config)
 {
     Serialiser = serialiser;
     Config     = config;
     Store      = new Dictionary <object, object>();
 }
示例#8
0
 public RedisEntityCache(IDatabase database, ISubscriber subs, IEntitySerialiser serialiser)
 {
     _database         = database;
     _subs             = subs;
     _entitySerialiser = serialiser;
 }
 public BlobStorageFileRepo(IEntityCacheBlobRepo blobRepo,
                            IEntitySerialiser entitySerialiser)
 {
     _blobRepo         = blobRepo;
     _entitySerialiser = entitySerialiser;
 }
示例#10
0
 public XFlow(IDeviceNetworkStatus networkStatus, IEntitySerialiser entitySerialiser, ILocalStorage localStorage)
 {
     _networkStatus    = networkStatus;
     _entitySerialiser = entitySerialiser;
     _localStorage     = localStorage;
 }
示例#11
0
 public LocalStorageFileRepo(ILocalStorage applicationDataHelper, IEntitySerialiser entitySerialiser)
 {
     _applicationDataHelper = applicationDataHelper;
     _entitySerialiser      = entitySerialiser;
 }
示例#12
0
 public DiscoveryService(IXWebRepo <IPSettings> settingsRepo, IEntitySerialiser ser)
 {
     _settingsRepo = settingsRepo;
     _ser          = ser;
 }
示例#13
0
 public ArloRegistrationSearchRepo(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, ILogService logService) : base(downloader, entitySerialiser, logService, "")
 {
 }
示例#14
0
 public ArloRepoBase(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, ILogService logService, string service) : base(downloader, entitySerialiser, service)
 {
     _logService = logService;
 }
示例#15
0
 protected OperationWebRepo(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, string service)
 {
     _downloader       = downloader;
     _entitySerialiser = entitySerialiser;
     _service          = service;
 }
示例#16
0
 protected XWebRepo2(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, string service)
 {
     _downloader       = downloader;
     _entitySerialiser = entitySerialiser;
     Service           = service;
 }
示例#17
0
 public XWorkflowHub(IDeviceNetworkStatus networkStatus, IEntitySerialiser entitySerialiser, ILocalStorage localStorage)
 {
     _networkStatus = networkStatus;
     _entitySerialiser = entitySerialiser;
     _localStorage = localStorage;
 }
示例#18
0
 public XWebRepo(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser)
 {
     _downloader       = downloader;
     _entitySerialiser = entitySerialiser;
 }
示例#19
0
 public EventListRepo(IHttpTransferrer downloader, IEntitySerialiser entitySerialiser, ILogService logService) : base(downloader, entitySerialiser, logService, Constants.Endpoints.Events)
 {
 }
 public TableStorageFileRepo(IEntityCacheTableRepo entityCacheTableRepo,
                             IEntitySerialiser entitySerialiser)
 {
     _entityCacheTableRepo = entityCacheTableRepo;
     _entitySerialiser     = entitySerialiser;
 }
 public FileRepository(IEntitySerialiser serialiser, IRepositoryConfig config)
 {
     Serialiser = serialiser;
     Config     = config;
 }