Example #1
0
 public UserController(UBlink u)
 {
     lnk = u;
     log.Debug("createing user controller.");
     this.ActiveUser = null;
     Duc             = new DC.UserCtrl();
 }
Example #2
0
        /// <summary>
        /// Simple public constructor.
        /// </summary>
        public Service()
        {
            log.Info("create service.");
            UBlink lnk = new UBlink();

            US       = new SS.UserService(lnk);
            BS       = new SS.BoardService(lnk);
            DataBase = new DB();
            LoadData();
        }
Example #3
0
 public BoardController(UBlink lnk)
 {
     this.lnk  = lnk;
     BC        = new Dictionary <string, Board>();
     hosts     = new Dictionary <string, int>();
     IdToEmail = new Dictionary <int, string>();
     Cur       = null;
     CurEmail  = null;
     DBC       = new DC.BoardCtrl();
     log.Debug("BoardController created.");
 }
Example #4
0
 public UserService(UBlink u)
 {
     uc = new BusinessLayer.UserControl.UserController(u);
 }
Example #5
0
 public BoardService(UBlink lnk)
 {
     BC = new BL.BoardController(lnk);
     log.Debug("Board Service created.");
 }