/// <summary> /// /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (!disposed) { try { if (disposing) { } if (ptr != IntPtr.Zero) { NativeMethods.core_PCA_delete(ptr); ptr = IntPtr.Zero; } disposed = true; } finally { base.Dispose(disposing); } } }
/// <summary> /// Releases unmanaged resources /// </summary> protected override void DisposeUnmanaged() { NativeMethods.core_PCA_delete(ptr); base.DisposeUnmanaged(); }
/// <summary> /// Releases unmanaged resources /// </summary> protected override void DisposeUnmanaged() { NativeMethods.HandleException( NativeMethods.core_PCA_delete(ptr)); base.DisposeUnmanaged(); }