Try Construct Objects

Creating objects without knowing which constructor to call

object TryCreateInstance( this Type type, object sample );
object TryCreateInstance( this Type type, IDictionary<string,object> parameters );
object TryCreateInstance( this Type type, string[] parameterNames, object[] parameterValues );
object TryCreateInstance( this Type type, string[] parameterNames, Type[] parameterTypes, object[] parameterValues );

Last edited Mar 7, 2010 at 8:53 AM by buunguyen, version 1

Comments

No comments yet.