Example #1
0
 public override void InitializeComInterfaces()
 {
     base.InitializeComInterfaces();
     if (this.plex == null)
     {
         try
         {
             this.plex = (IVdsLunPlex)base.ComUnknown;
         }
         catch (InvalidCastException exception)
         {
             throw new VdsException("QueryInterface for IVdsLunPlex failed.", exception);
         }
     }
 }
Example #2
0
 public LunPlex()
 {
     this.refresh = true;
     this.plex    = null;
 }