Aspectacular.CacheAspect.SaveValueToCache C# (CSharp) Method

SaveValueToCache() private method

private SaveValueToCache ( ) : void
return void
        private void SaveValueToCache()
        {
            string cacheKey = this.BuildMethodCacheKeyVerySlowly();
            object val = this.Proxy.InterceptedMedthodCallFailed ? this.Proxy.MethodExecutionException : this.Proxy.ReturnedValue;

            if(this.Cache2 != null)
                this.Cache2.Set(cacheKey, val, this.Proxy);
            else
                this.Cache.Set(cacheKey, val);
        }