public FactoryMethods DefaultInstance() { TestObject to = new TestObject(); to.Name = FactoryObjectProperty; return(FactoryMethods.NewInstance(to)); }
public FactoryMethods CreateInstance(IDataRecord dr) { return(FactoryMethods.NewInstance(new TestObject(), "DataRecordCtor", 0)); }
public FactoryMethods CreateInstance() { return(FactoryMethods.NewInstance(new TestObject(), "DefaultCtor", 0)); }
public FactoryMethods NewInstance(TestObject to, int num, string name) { return(FactoryMethods.NewInstance(to, name, num)); }
/// <summary> /// Note that overloaded methods are supported. /// </summary> public FactoryMethods NewInstance(TestObject to) { return(FactoryMethods.NewInstance(to)); }