/// <summary>
 /// Creates and adds registry to collection
 /// </summary>
 /// <param name="label"></param>
 /// <returns></returns>
 public IDefinedConventions CreateRegistry(string label)
 {
     label.MustNotBeEmpty("label");
     var conv=_conventions[label] = new ConventionsRegistry();
     return conv;
 }
예제 #2
0
 public ActionConfigurator(ConventionsRegistry parent, Predicate<ModelInfo> predicate)
 {
     _parent = parent;
     _predicate = predicate;
 }
예제 #3
0
 public ActionConfigurator(ConventionsRegistry parent, Predicate <ModelInfo> predicate)
 {
     _parent    = parent;
     _predicate = predicate;
 }