Example #1
0
        private BuildPlan BuildGetValuePlan()
        {
            var manager   = DeclaringComponent.Manager;
            var component = Component;

            if (IsCacheable || component.IsProxyRequired)
            {
                return(CacheUtils.Cache(context => manager.GetInjectableReference(this, context)));
            }

            return(context => manager.GetInjectableReference(this, context));
        }