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