public GeneratorWrapper(IBuildElement builder, IEnumerable<IModifyElement> modifiers)
 {
     _builder = builder;
     _modifiers = modifiers;
     builder.MustNotBeNull();
     modifiers.MustNotBeNull();
 }
示例#2
0
 public GeneratorWrapper(IBuildElement builder, IEnumerable <IModifyElement> modifiers)
 {
     _builder   = builder;
     _modifiers = modifiers;
     builder.MustNotBeNull();
     modifiers.MustNotBeNull();
 }
 public IConfigureConventions Add(IBuildElement builder)
 {
     builder.MustNotBeNull();
     _builders.Add(builder);
     return this;
 }
 public IConfigureConventions Add(IBuildElement builder)
 {
     builder.MustNotBeNull();
     _builders.Add(builder);
     return(this);
 }