コード例 #1
0
 public ValidateAsyncObjectList(IValidateListBaseServices <ValidateAsyncObjectList, IValidateAsyncObject> services,
                                IShortNameRule <ValidateAsyncObjectList> shortNameRule,
                                IFullNameRule <ValidateAsyncObjectList> fullNameRule
                                ) : base(services)
 {
     RuleManager.AddRules(shortNameRule, fullNameRule);
     ShortNameRule = shortNameRule;
     FullNameRule  = fullNameRule;
 }
コード例 #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
     };
 }
コード例 #3
0
 public EditPersonList(IEditListBaseServices <EditPersonList, IEditPerson> services,
                       IShortNameRule <EditPersonList> shortNameRule,
                       IFullNameRule <EditPersonList> fullNameRule) : base(services)
 {
     RuleManager.AddRules(shortNameRule, fullNameRule);
 }