Added generic function InList for debugging

This commit is contained in:
Rich
2014-05-16 18:10:49 +00:00
parent 099a428888
commit e595471442
2 changed files with 13 additions and 0 deletions

View File

@@ -324,6 +324,12 @@ namespace VEPROMS.CSLA.Library
#region ItemInfo
public partial class ItemInfo:IVEDrillDownReadOnly
{
public bool InList(params int [] IDs)
{
foreach (int id in IDs)
if (id == ItemID) return true;
return false;
}
public void SetHeader(VE_Font myFont, string myText)
{
_MyHeader = new MetaTag(myFont);