Exemple #1
0
        public DiscussionListResult(string board_id /*or selection id*/)
        {
            //this.JsonRequestBehavior = JsonRequestBehavior.AllowGet;

            if (SandId.IsSelectionId(board_id, 0, board_id.Length))
            {
                this.selectionId = board_id;
                this.boardList   = Warehouse.BsMapPond.Get().GetBoardList(this.selectionId);                            // null for nonexistent selection.
            }
            else
            {
                this.boardList = new List <string>(1);
                this.boardList.Add(board_id);
            }
        }