Exemple #1
0
 public void Visit(FareRuleCollection fareRules)
 {
     using (var textReader = GetTextReader <FareRule>())
     {
         Feed.FareRules = new FareRuleCollection(GetEntityParser <FareRule>().Parse(textReader).Cast <FareRule>());
     }
 }
Exemple #2
0
 public void Visit(FareRuleCollection fareRules)
 {
 }
Exemple #3
0
 protected virtual void OnFareAttributesChecked(FareRuleCollection fareRules, ValidationEventArgs e)
 {
     FareRulesChecked?.Invoke(fareRules, e);
 }
Exemple #4
0
 public void Visit(FareRuleCollection fareRules)
 {
     OnFareAttributesChecked(fareRules, new ValidationEventArgs(CheckValidity(fareRules)));
 }