Exemple #1
0
 public void Add <ClassType, FieldType, Generator> (Expression <Func <ClassType, FieldType> > expression)
 {
     Common.IGenerator generator = (Common.IGenerator)Activator.CreateInstance(typeof(Generator));
     this.generator  = generator;
     this.fieldType  = typeof(FieldType);
     this.objectType = typeof(ClassType);
 }
Exemple #2
0
 public void AddGenerator(Common.IGenerator newGenerator)
 {
     availiableGenerators.Add(newGenerator.GetType(), newGenerator);
 }