correct config xml to upper case C
RevisionConfig property on Revision and RevisionInfo classes
This commit is contained in:
@@ -47,7 +47,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_Procedure = procedure;
|
||||
string xml = procedure.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
if (procedure.MyProcedureInfo.ActiveParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
@@ -96,14 +96,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_ProcedureInfo = procedureInfo;
|
||||
string xml = procedureInfo.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
_Xp.AncestorLookup = true;
|
||||
if (procedureInfo.ActiveParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
public ProcedureConfig(string xml)
|
||||
{
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
}
|
||||
//public ProcedureConfig()
|
||||
@@ -196,7 +196,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