correct config xml to upper case C
RevisionConfig property on Revision and RevisionInfo classes
This commit is contained in:
@@ -50,7 +50,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_Folder = folder;
|
||||
string xml = _Folder.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
if (folder.MyFolderInfo.MyParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
@@ -91,18 +91,18 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_FolderInfo = folderInfo;
|
||||
string xml = _FolderInfo.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
if (_FolderInfo.MyParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
public FolderConfig(string xml)
|
||||
{
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
}
|
||||
public FolderConfig()
|
||||
{
|
||||
_Xp = new XMLProperties("<config/>");
|
||||
_Xp = new XMLProperties("<Config/>");
|
||||
}
|
||||
internal string GetValue(string group, string item)
|
||||
{
|
||||
@@ -181,7 +181,7 @@ namespace VEPROMS.CSLA.Library
|
||||
public override string ToString()
|
||||
{
|
||||
string s = _Xp.ToString();
|
||||
if (s == "<config/>" || s == "<config></config>") return string.Empty;
|
||||
if (s == "<Config/>" || s == "<Config></Config>") return string.Empty;
|
||||
return s;
|
||||
}
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user