Config get/set (for DocVersion Specific Info data)
Config get/set (for Folder Specific Info data)
This commit is contained in:
parent
b97b6b41d1
commit
e61ee1051c
@ -85,6 +85,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public DocVersionConfig(string xml)
|
public DocVersionConfig(string xml)
|
||||||
{
|
{
|
||||||
|
if (xml == string.Empty) xml = "<Config/>";
|
||||||
_Xp = new XMLProperties(xml);
|
_Xp = new XMLProperties(xml);
|
||||||
}
|
}
|
||||||
public DocVersionConfig()
|
public DocVersionConfig()
|
||||||
@ -92,10 +93,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
string xml = "<Config/>";
|
string xml = "<Config/>";
|
||||||
_Xp = new XMLProperties(xml);
|
_Xp = new XMLProperties(xml);
|
||||||
}
|
}
|
||||||
internal string GetValue(string group, string item)
|
public string GetValue(string group, string item)
|
||||||
{
|
{
|
||||||
return _Xp[group, item];
|
return _Xp[group, item];
|
||||||
}
|
}
|
||||||
|
public void SetValue(string group, string item, string newvalue)
|
||||||
|
{
|
||||||
|
_Xp[group, item] = newvalue;
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Local Properties
|
#region Local Properties
|
||||||
[Category("General")]
|
[Category("General")]
|
||||||
|
@ -104,10 +104,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
_Xp = new XMLProperties("<Config/>");
|
_Xp = new XMLProperties("<Config/>");
|
||||||
}
|
}
|
||||||
internal string GetValue(string group, string item)
|
public string GetValue(string group, string item)
|
||||||
{
|
{
|
||||||
return _Xp[group, item];
|
return _Xp[group, item];
|
||||||
}
|
}
|
||||||
|
public void SetValue(string group, string item, string newvalue)
|
||||||
|
{
|
||||||
|
_Xp[group, item] = newvalue;
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Local Properties
|
#region Local Properties
|
||||||
[Category("General")]
|
[Category("General")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user