Exemplo n.º 1
0
        public ObjectHistoryClient(
            ObjectHistoryClientSettings objectHistorySettings,
            ObjectHistoryService objectHistoryService)
        {
            _objectHistorySettings = objectHistorySettings;
            _objectHistoryService  = objectHistoryService;

            _objectHistoryTable = _objectHistoryService.GetObjectHistoryTableAsync(_objectHistorySettings.ObjectHistoryTable).Result;
            _globalHistoryTable = _objectHistoryService.GetGlobalHistoryTableAsync(_objectHistorySettings.GlobalHistoryTable).Result;
            _cloudBlobContainer = _objectHistoryService.GetObjectHistoryContainerAsync(_objectHistorySettings.ObjectContainerName).Result;
        }
Exemplo n.º 2
0
 public ObjectHistoryProcessor(Settings settings)
 {
     _objectHistoryService = new ObjectHistoryService(settings.AzureWebJobsStorage);
 }