This commit is contained in:
parent
0b14d49c78
commit
9d0b3cd543
File diff suppressed because it is too large
Load Diff
@ -258,6 +258,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
return vlnFormatDocument.EnumLookup<T>(_XmlNode, path);
|
||||
}
|
||||
public bool LazyLoad(ref LazyLoad<bool> ll, string xPath)
|
||||
{
|
||||
if (ll == null)
|
||||
{
|
||||
XmlNode xn = SelectSingleNode(xPath);
|
||||
string tstr = xn != null ? xn.InnerText : "FALSE";
|
||||
ll = new LazyLoad<bool>(tstr.ToUpper() == "TRUE" ? true : false);
|
||||
}
|
||||
return ll.Value;
|
||||
}
|
||||
public string LazyLoad(ref LazyLoad<string> ll, string xPath)
|
||||
{
|
||||
if (ll == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user