public GeneratedField AddField(Func <BuilderBundle> type, string fieldName) { var action = new AddFieldAction(Builder, () => fieldName, type); TypeGenerationActions.Add(action); return(new GeneratedField(type, action)); }
public GeneratedField(Func <BuilderBundle> bundle, AddFieldAction action) { this.bundle = bundle; this.action = action; }
public GeneratedField(Type type, AddFieldAction action) { this.type = type; this.action = action; }