/// ------------------------------------------------------------------------------------------ /// <summary> /// Executes the task. /// </summary> /// ------------------------------------------------------------------------------------------ protected override void ExecuteTask() { using (CacheManager cacheManager = new CacheManager()) { string handle = Properties[HandlePropertyName]; string[] outputFiles = new string[m_OutputFiles.FileNames.Count]; m_OutputFiles.FileNames.CopyTo(outputFiles, 0); cacheManager.CacheFile(handle, outputFiles); cacheManager.AddCacheMiss(); } }