Example #1
0
        protected override object Inject(ref InjectionContext context)
        {
            for (int i = 0; i < arguments.Length; i++)
            {
                arguments[i] = parameters[i].Inject(context);
            }

            var instance = wrapper.Invoke(arguments);

            return(instance);
        }
Example #2
0
 protected override object Inject(ref InjectionContext context)
 {
     return(wrapper.Invoke());
 }
 public object Invoke(IEnumerable <object> parameters) => _cw.Invoke(parameters);