protected virtual void OnReportedStateCallback(ReportedStateCallbackArgs e) { EventHandler <ReportedStateCallbackArgs> handler = ReportedStateCallback; if (handler != null) { handler(this, e); } }
private void reportedStateCallback(int status_code, UIntPtr userContextCallback) { ReportedStateCallbackArgs reportedStateCallbackArgs = new ReportedStateCallbackArgs(status_code, userContextCallback); OnReportedStateCallback(reportedStateCallbackArgs); }