Context CreateContextFrom(Type type)
        {
            object instance = Activator.CreateInstance(type);

            return(_contextFactory.CreateContextFrom(instance));
        }
예제 #2
0
        private Context CreateContextFrom(Type type)
        {
            var instance = Activator.CreateInstance(type);

            return(contextFactory.CreateContextFrom(instance));
        }