private void InvokeCallback() { if (this.CallBack != null) { var callback = this.CallBack; this.CallBack = null; callback(); } }