示例#1
0
 /// <summary>
 /// Initializes the BrailleIO framework. Build a new BrailleIOAdapter_ShowOff, and add it to the global IBrailleIOAdapterManager.
 /// </summary>
 /// <returns>The created BrailleIOAdapter_ShowOff, that was build with this instance</returns>
 public AbstractBrailleIOAdapterBase InitializeBrailleIO(bool setAsActiveAdapter = false)
 {
     io = BrailleIOMediator.Instance;
     if (io != null)
     {
         if (io.AdapterManager == null)
         {
             io.AdapterManager  = new ShowOffBrailleIOAdapterManager();
             setAsActiveAdapter = true;
         }
         return(InitializeBrailleIO(io.AdapterManager, setAsActiveAdapter));
     }
     return(null);
 }
 public BrailleDisNetIOAdapterManager(ref BrailleIO.BrailleIOMediator io)
     : base(ref io)
 {
     init();
 }
 public AbstractBrailleIOAdapterManagerBase(ref BrailleIOMediator io)
     : this()
 {
     this.io = io;
 }
 public ShowOffBrailleIOAdapterManager(ref BrailleIOMediator io)
     : base(ref io)
 {
     init();
 }