public Task NotifyAsync(OnvifEvent10.Notify1 request) { return(new Task(() => { //return something? })); }
public void Notify(OnvifEvent10.Notify1 request) { var threadSafeEventHandler = NewNotification; if (threadSafeEventHandler != null) { threadSafeEventHandler.Invoke(this, new EventArgs <OnvifEvent10.Notify1>(request)); } }