correct config xml to upper case C
RevisionConfig property on Revision and RevisionInfo classes
This commit is contained in:
@@ -47,19 +47,19 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_Step = step;
|
||||
string xml = step.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
}
|
||||
public StepConfig(StepInfo stepInfo)
|
||||
{
|
||||
_StepInfo = stepInfo;
|
||||
string xml = stepInfo.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
}
|
||||
public StepConfig(string xml)
|
||||
{
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
if (xml == string.Empty) xml = "<Config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
}
|
||||
public StepConfig()
|
||||
@@ -78,7 +78,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