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