Exemplo n.º 1
0
        public bool CanMoveDown(CommentsCollection _collection)
        {
            int index = AvailableCollections.IndexOf(_collection);

            return((index != -1) && (index != AvailableCollections.Count - 1));
        }
Exemplo n.º 2
0
        public bool CanMoveUp(CommentsCollection _collection)
        {
            int index = AvailableCollections.IndexOf(_collection);

            return(index > 0);
        }