protected bool OnblogEntryIdChanging(BlogEntry newValue) { System.Delegate[] events; EventHandler<PropertyChangingEventArgs<BlogEntryLabel, BlogEntry>> eventHandler; if ((object)(events = this._events) != null && (object)(eventHandler = (EventHandler<PropertyChangingEventArgs<BlogEntryLabel, BlogEntry>>)events[0]) != null) { return EventHandlerUtility.InvokeCancelableEventHandler<PropertyChangingEventArgs<BlogEntryLabel, BlogEntry>>(eventHandler, this, new PropertyChangingEventArgs<BlogEntryLabel, BlogEntry>(this, "blogEntryId", this.blogEntryId, newValue)); } return true; }
protected void OnblogEntryIdChanged(BlogEntry oldValue) { System.Delegate[] events; EventHandler<PropertyChangedEventArgs<BlogEntryLabel, BlogEntry>> eventHandler; if ((object)(events = this._events) != null && (object)(eventHandler = (EventHandler<PropertyChangedEventArgs<BlogEntryLabel, BlogEntry>>)events[1]) != null) { EventHandlerUtility.InvokeEventHandlerAsync<PropertyChangedEventArgs<BlogEntryLabel, BlogEntry>>(eventHandler, this, new PropertyChangedEventArgs<BlogEntryLabel, BlogEntry>(this, "blogEntryId", oldValue, this.blogEntryId), this._propertyChangedEventHandler); } else { this.OnPropertyChanged("blogEntryId"); } }