Change ‘Count’ to ‘MaxIndex’ for ‘vlnIndexedFormatList’

Rename ‘Count’ to ‘MaxIndex’ in ‘vlnIndexedFormatList’ to clarify what variable is, fix plural of box (boxes)
This commit is contained in:
2015-07-20 14:29:34 +00:00
parent a98f4998da
commit 6c6f895834
2 changed files with 5 additions and 4 deletions

View File

@@ -5562,7 +5562,7 @@ namespace VEPROMS.CSLA.Library
{
get
{
return(_TransTypeList == null || _TransTypeList.Count==0)? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes"),MyFormat): _TransTypeList;
return(_TransTypeList == null || _TransTypeList.MaxIndex==0)? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes"),MyFormat): _TransTypeList;
}
}
public TransData(XmlNode xmlNode) : base(xmlNode) { }