1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2013-03-18 16:46:18 +01:00

55 lines
1.3 KiB
C#

using System;
namespace Nini.Ini
{
/// <include file='IniItem.xml' path='//Class[@name="IniItem"]/docs/*' />
public class IniItem
{
#region Private variables
IniType iniType = IniType.Empty;
string iniName = "";
string iniValue = "";
string iniComment = null;
#endregion
#region Public properties
/// <include file='IniItem.xml' path='//Property[@name="Type"]/docs/*' />
public IniType Type
{
get { return iniType; }
set { iniType = value; }
}
/// <include file='IniItem.xml' path='//Property[@name="Value"]/docs/*' />
public string Value
{
get { return iniValue; }
set { iniValue = value; }
}
/// <include file='IniItem.xml' path='//Property[@name="Name"]/docs/*' />
public string Name
{
get { return iniName; }
}
/// <include file='IniItem.xml' path='//Property[@name="Comment"]/docs/*' />
public string Comment
{
get { return iniComment; }
set { iniComment = value; }
}
#endregion
/// <include file='IniItem.xml' path='//Constructor[@name="Constructor"]/docs/*' />
internal protected IniItem (string name, string value, IniType type, string comment)
{
iniName = name;
iniValue = value;
iniType = type;
iniComment = comment;
}
}
}