Beispiel #1
0
 public ValidateAsyncObjectList(IValidateListBaseServices <ValidateAsyncObjectList, IValidateAsyncObject> services,
                                IShortNameRule <ValidateAsyncObjectList> shortNameRule,
                                IFullNameRule <ValidateAsyncObjectList> fullNameRule
                                ) : base(services)
 {
     RuleManager.AddRules(shortNameRule, fullNameRule);
     ShortNameRule = shortNameRule;
     FullNameRule  = fullNameRule;
 }
Beispiel #2
0
 public EditPerson(IEditBaseServices <EditPerson> services,
                   IShortNameRule <EditPerson> shortNameRule,
                   IFullNameRule <EditPerson> fullNameRule) : base(services)
 {
     RuleManager.AddRules(shortNameRule, fullNameRule);
     InitiallyDefined = new List <int>()
     {
         1, 2, 3
     };
 }
Beispiel #3
0
 public EditPersonList(IEditListBaseServices <EditPersonList, IEditPerson> services,
                       IShortNameRule <EditPersonList> shortNameRule,
                       IFullNameRule <EditPersonList> fullNameRule) : base(services)
 {
     RuleManager.AddRules(shortNameRule, fullNameRule);
 }