Beispiel #1
0
        public FactoryMethods DefaultInstance()
        {
            TestObject to = new TestObject();

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