private void HandleEvent(TargetedNotificationType result) { Notification deserializedNotification = Deserialize(result); if (_filterCallback == null || _filterCallback(deserializedNotification)) { _callback(deserializedNotification, _handback); } }
private static Notification Deserialize(TargetedNotificationType notification) { return notification.Deserialize(); }