protected override void Detach() { OnDetach?.Invoke(this, new EventArgs()); }
protected override bool ReleaseHandle() { OnDetach?.Invoke(); return(Kernel.CloseHandle(handle)); }
protected void RaiseOnDetach() => OnDetach?.Invoke(this);
protected override void Detach() { OnDetach?.Invoke(this, new EventArgs()); }
protected override bool ReleaseHandle() { OnDetach?.Invoke(); return(Kernel.CloseHandle(handle)); }
protected void RaiseOnDetach() => OnDetach?.Invoke(this);