示例#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);
         }
     }
 }
示例#2
0
 public LunPlex()
 {
     this.refresh = true;
     this.plex    = null;
 }