protected bool DisposeProvider()
{
lock (this)
{
if (iHandle == IntPtr.Zero)
return false;
DvProviderDestroy(iHandle);
iHandle = IntPtr.Zero;
}
// don't Dispose contents of iActions - the underlying native provider handles this
for (int i = 0; i < iProperties.Count; i++)
iProperties[i].Dispose();
return true;
}
}