Ejemplo n.º 1
0
 public override void InitializeComInterfaces()
 {
     base.InitializeComInterfaces();
     if (this.port == null)
     {
         try
         {
             this.port = (IVdsControllerPort)base.ComUnknown;
         }
         catch (InvalidCastException exception)
         {
             throw new VdsException("QueryInterface for IVdsControllerPort failed.", exception);
         }
     }
 }
Ejemplo n.º 2
0
 public ControllerPort()
 {
     this.refresh = true;
     this.port    = null;
 }