public static ICacheProvider GetProvider()
        {
            if (instance == null)
            {
                instance = CacheProviderFactory.Create();
            }

            return(instance);
        }
示例#2
0
 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;
 }