예제 #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;
        }
예제 #2
0
 public ObjectHistoryProcessor(Settings settings)
 {
     _objectHistoryService = new ObjectHistoryService(settings.AzureWebJobsStorage);
 }