Esempio n. 1
0
        public static T New <T>(Type type, params object[] constructorArgs)
        {
            var eo = new ExposedObject(Create(type, constructorArgs));

            T obj = eo.ActLike();

            return(obj);
        }
Esempio n. 2
0
        public static T New <T>(Type type)
        {
            var eo = new ExposedObject(Create(type));

            T obj = eo.ActLike();

            return(obj);
        }