public virtual void Dispose() { mAccessor.RegisterCore(this, false); //universal delete mechanism? //probably not. }
public ExternalCore(IExternalCoreAccessor accessor) { mAccessor = accessor; lock (oLock) { ManagedOpaque = new IntPtr(_ManagedOpaque_Counter); _ManagedOpaque_Counter++; } mAccessor.RegisterCore(this, true); }