public static T New <T>(Type type, params object[] constructorArgs) { var eo = new ExposedObject(Create(type, constructorArgs)); T obj = eo.ActLike(); return(obj); }
public static T New <T>(Type type) { var eo = new ExposedObject(Create(type)); T obj = eo.ActLike(); return(obj); }