Config get/set (for DocVersion Specific Info data)

Config get/set (for Folder Specific Info data)
This commit is contained in:
Kathy Ruffing 2015-05-14 14:37:32 +00:00
parent b97b6b41d1
commit e61ee1051c
2 changed files with 11 additions and 2 deletions

View File

@ -85,6 +85,7 @@ namespace VEPROMS.CSLA.Library
}
public DocVersionConfig(string xml)
{
if (xml == string.Empty) xml = "<Config/>";
_Xp = new XMLProperties(xml);
}
public DocVersionConfig()
@ -92,10 +93,14 @@ namespace VEPROMS.CSLA.Library
string xml = "<Config/>";
_Xp = new XMLProperties(xml);
}
internal string GetValue(string group, string item)
public string GetValue(string group, string item)
{
return _Xp[group, item];
}
public void SetValue(string group, string item, string newvalue)
{
_Xp[group, item] = newvalue;
}
#endregion
#region Local Properties
[Category("General")]

View File

@ -104,10 +104,14 @@ namespace VEPROMS.CSLA.Library
{
_Xp = new XMLProperties("<Config/>");
}
internal string GetValue(string group, string item)
public string GetValue(string group, string item)
{
return _Xp[group, item];
}
public void SetValue(string group, string item, string newvalue)
{
_Xp[group, item] = newvalue;
}
#endregion
#region Local Properties
[Category("General")]