コード例 #1
0
        public static Object BuildInstance(
            this IServiceConfiguration configuration,
            ServiceProvider provider,
            Type[] generics)
        {
            Object instance;

            configuration.BuildInstance(provider, generics, out instance);

            return(instance);
        }
コード例 #2
0
        public static Object BuildInstance(
            this IServiceConfiguration configuration,
            ServiceProvider provider,
            Type[] generics,
            Action <Object, ServiceProvider, IServiceConfiguration> setup,
            Int32 setupOrder)
        {
            Object instance;

            configuration.BuildInstance(provider, generics, setup, setupOrder, out instance);

            return(instance);
        }