コード例 #1
0
 //MAIG - CH2 - START - Added the below method to check if the User Role should contain the Menu or not
 private static bool ValidateRoles(ArrayList UserRoles, ACLEntry i)
 {
     foreach (var item in UserRoles)
     {
         if (i.ACList.Contains(item))
         {
             return(true);
         }
     }
     return(false);;
 }
コード例 #2
0
 /// <summary>
 /// Adds item to the list.
 /// </summary>
 /// <param name="item">Item to add.</param>
 public void Add(ACLEntry item)
 {
     InnerList.Add(item);
 }