Esempio n. 1
0
        /// <summary>
        /// Add a sorting box to the list. Return the added box
        /// </summary>
        /// <param name="name"></param>
        internal SortingBox AddBox(User user, string name, SortingBoxController controller)
        {
            string     sortingBoxID = Guid.NewGuid().ToString();
            SortingBox box          = new SortingBox(controller);

            box.Init(sortingBoxID, name, user);
            list.Add(sortingBoxID, box);
            return(box);
        }
Esempio n. 2
0
 public SortingBox(SortingBoxController sortingBoxController)
 {
     this.sortingBoxController = sortingBoxController;
 }