Пример #1
0
 private void WriteIniLine(List <string> fileLines, IIniLine iniLine)
 {
     if (iniLine.Comment != null)
     {
         fileLines.Add(iniLine.Comment);
     }
     fileLines.Add(iniLine.Line);
 }
Пример #2
0
 public int CompareTo([AllowNull] IIniLine other)
 {
     if (other == null)
     {
         return(1);
     }
     return(Line.CompareTo(other.Line));
 }