Esempio n. 1
0
        public UserCollection this[bool islocked]
        {
            get
            {
                UserCollection temp = new UserCollection();

                foreach (object obj in base.InnerList)
                {
                    User user = obj as User;
                    if ( user.IsLocked == islocked)
                    {
                        temp.Add(user);
                    }
                }

                return temp;
            }
        }