示例#1
0
        public bool CanMoveDown(CommentsCollection _collection)
        {
            int index = AvailableCollections.IndexOf(_collection);

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

            return(index > 0);
        }