public GeneratedField AddField(Func <BuilderBundle> type, string fieldName)
        {
            var action = new AddFieldAction(Builder, () => fieldName, type);

            TypeGenerationActions.Add(action);

            return(new GeneratedField(type, action));
        }
Exemple #2
0
 public GeneratedField(Func <BuilderBundle> bundle, AddFieldAction action)
 {
     this.bundle = bundle;
     this.action = action;
 }
Exemple #3
0
 public GeneratedField(Type type, AddFieldAction action)
 {
     this.type   = type;
     this.action = action;
 }