Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 /// <summary>
 /// Adds a cache item
 /// </summary>
 /// <param name="cacheItem">Cache item</param>
 public void AddCacheItem(AnalysisDataSourceCacheItem cacheItem)
 {
     this.cache.Add(cacheItem);
 }