Beispiel #1
0
        protected object Resolve(Type type)
        {
            var method   = Container.GetType().GetMethod("Resolve");
            var invoker  = method.MakeGenericMethod(type);
            var instance = invoker.Invoke(Container, null);

            return(instance);
        }