예제 #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;
 }
예제 #2
0
 /// <summary>
 /// Makes the controller.
 /// </summary>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 private bool makeController(long maxSize, bool isByte, bool isNS, bool isClean, string path)
 {
     myController = new MVC_Controller(maxSize, isByte, isNS, isClean, path);
     this.reloadController();
     return true;
 }