Exemplo n.º 1
0
 public void Register(PropertyInfo property, ComboBoxSettingsAttribute settings)
 {
     Conventions.Add(new ComboBoxConvention()
     {
         Match    = new PropertyExactMatch(property),
         Settings = settings
     });
 }
Exemplo n.º 2
0
 public void Register(string propertyName, ComboBoxSettingsAttribute settings)
 {
     Conventions.Add(new ComboBoxConvention()
     {
         Match    = new PropertyNameMatch(propertyName),
         Settings = settings
     });
 }
Exemplo n.º 3
0
 public void Register(Func <PropertyInfo, bool> predicate, ComboBoxSettingsAttribute settings)
 {
     Conventions.Add(new ComboBoxConvention()
     {
         Match = new PropertyDelegateMatch()
         {
             Delegate = predicate
         },
         Settings = settings
     });
 }