/// <summary> /// Cache item execution context result /// </summary> /// <param name="executionContext">Execution context</param> /// <param name="result">Result</param> public void AddCacheItemWithExecutionContextResult(AnalysisExecutionContext executionContext, ICrmDataSource result) { AnalysisDataSourceCacheItem cacheItem = new AnalysisDataSourceCacheItem(result, executionContext); this.AddCacheItem(cacheItem); }
/// <summary> /// Adds a cache item /// </summary> /// <param name="cacheItem">Cache item</param> public void AddCacheItem(AnalysisDataSourceCacheItem cacheItem) { this.cache.Add(cacheItem); }