Exemple #1
0
 public HeaderRecord(DataSource source, ThreeLetterCode code, string text, string value)
     : base(RecordType.H, text)
 {
     DataSource = source;
     ThreeLetterCode = code;
     Value = value ?? string.Empty;
 }
Exemple #2
0
 public bool Equals(Station other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(ThreeLetterCode.Equals(other.ThreeLetterCode));
 }
Exemple #3
0
 public HeaderRecord(DataSource source, ThreeLetterCode code, string text, string value) : base(RecordType.H, text)
 {
     DataSource      = source;
     ThreeLetterCode = code;
     Value           = value ?? string.Empty;
 }