Mercurial > repos > IBBoard.Ini
view IniCommentLine.cs @ 5:7e06c0699257
Re #7 - Add tests to INI parsing
* Fix documentation
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 18 Jan 2009 14:30:40 +0000 |
parents | f9444f1786cd |
children | f6f726c92e56 |
line wrap: on
line source
// This file (IniCommentLine.cs) is a part of the IBBoard.Ini library and is copyright 2009 IBBoard. // // The file and the library/program it is in are licensed under the GNU LGPL license. Please see COPYING.LGPL for more information and the full license. using System; namespace IBBoard.Ini { /// <summary> /// A line in an IniFile that contains a comment /// </summary> public class IniCommentLine : IIniLine { private string comment; public IniCommentLine(string comment) { this.comment = comment.TrimStart(';'); } //// <value> /// Gets the content of the comment /// </value> public string Comment { get { return comment; } } public override string ToString() { return ";" + Comment; } } }