Beispiel #1
0
 /// <inheritdoc />
 public void Execute(
     ClearCacheOp operation)
 {
     lock (this.syncCache)
     {
         this.operationToCacheResultMap.Clear();
     }
 }
Beispiel #2
0
        /// <inheritdoc />
        public async Task ExecuteAsync(
            ClearCacheOp operation)
        {
            await Task.Run(
                () =>
            {
                /* no-op for await */
            });

            this.Execute(operation);
        }