Sicherung
This commit is contained in:
21
Config.Net/Stores/Formats/Ini/IniComment.cs
Normal file
21
Config.Net/Stores/Formats/Ini/IniComment.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Config.Net.Stores.Formats.Ini
|
||||
{
|
||||
class IniComment : IniEntity
|
||||
{
|
||||
public const string CommentSeparator = ";";
|
||||
|
||||
public IniComment(string value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
public string EscapedValue
|
||||
{
|
||||
get { return Value.Replace("\r", @"\r").Replace("\n", @"\n"); }
|
||||
}
|
||||
|
||||
public override string ToString() => Value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user