Ejemplo n.º 1
0
 protected override void DisposeUnmanagedResources()
 {
     if (this._volStructObj != null)
     {
         Marshal.FinalReleaseComObject(this._volStructObj);
         this._volStructObj = null;
     }
 }
Ejemplo n.º 2
0
        public List <string> GetUniqueKey()
        {
            List <string>  uniqueKey = new List <string>();
            IVolumeStruct7 volStruct = this._viObj.Structure;

            if (volStruct != null)
            {
                using (VolumeStruct volumeStruct = new VolumeStruct(volStruct))
                {
                    uniqueKey.AddRange(volumeStruct.GetUniqueKey());
                }
            }

            return(uniqueKey);
        }
Ejemplo n.º 3
0
 internal VolumeStruct(IVolumeStruct7 volumeStruct)
 {
     this._volStructObj = volumeStruct ?? throw new ArgumentNullException();
 }
Ejemplo n.º 4
0
 internal VolumeStruct()
 {
     this._volStructObj = new VolumeStruct7();
 }