Ejemplo n.º 1
0
        /// <summary>
        /// Attaches the controller.
        /// </summary>
        /// <param name="myController">My controller.</param>
        /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
        public bool attachController(MVC_Controller myController)
        {
            try
            {
                this.attachedControllers.Add(myController);
            }
            catch (Exception)
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Makes the controller.
 /// </summary>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 private bool makeController()
 {
     myController = new MVC_Controller();
     this.reloadController();
     return(true);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Attaches the controller.
 /// </summary>
 /// <param name="myController">My controller.</param>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 public bool attachController(MVC_Controller myController)
 {
     try
     {
         this.attachedControllers.Add(myController);
     }
     catch (Exception)
     {
         return false;
     }
     
     return true;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Makes the controller.
 /// </summary>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 private bool makeController()
 {
     myController = new MVC_Controller();
     this.reloadController();
     return true;
 }