Exemplo n.º 1
0
        public override void PostBuildUp(IBuilderContext context)
        {
            var arguments = context.ResolveConstructorScopedArguments().ToArray();

            if (arguments.Length > 0)
            {
                _cache.TryAdd(context.BuildKey.Type, new ArgumentsList(arguments), new WeakReference(context.Existing));
            }
        }