public static ICacheProvider GetProvider() { if (instance == null) { instance = CacheProviderFactory.Create(); } return(instance); }
internal PipelineExecutionContext(IWorkflowExecutionContext workflowExecutionContext, OrationiDatabaseContext dbContext) { PipelineValues = new Dictionary <string, object>(); PluginStepSettings = new Dictionary <string, object>(); _workflowExecutionContext = workflowExecutionContext; _fileStores = dbContext.FileStores; CacheProvider = CacheProviderFactory.Create(dbContext); RequestBody = _workflowExecutionContext.MessageBody; }