Share via


NSManagedObjectContext.Notifications Class

Definition

Notifications posted by the NSManagedObjectContext class.

public static class NSManagedObjectContext.Notifications
type NSManagedObjectContext.Notifications = class
Inheritance
NSManagedObjectContext.Notifications

Remarks

This class contains various helper methods that allow developers to observe events posted in the notification hub (NSNotificationCenter).

The methods defined in this class post events that invoke the provided method or lambda with a NSNotificationEventArgs parameter, which contains strongly typed properties for the notification arguments.

Methods

Name Description
ObserveDidMergeChangesObjectIds(EventHandler<NSManagedObjectsIdsChangedEventArgs>)

Strongly typed notification for the DidMergeChangesObjectIdsNotification constant.

ObserveDidMergeChangesObjectIds(NSObject, EventHandler<NSManagedObjectsIdsChangedEventArgs>)

Strongly typed notification for the DidMergeChangesObjectIdsNotification constant.

ObserveDidSave(EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the DidSaveNotification constant.

ObserveDidSave(NSObject, EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the DidSaveNotification constant.

ObserveDidSaveObjectIds(EventHandler<NSManagedObjectsIdsChangedEventArgs>)

Strongly typed notification for the DidSaveObjectIdsNotification constant.

ObserveDidSaveObjectIds(NSObject, EventHandler<NSManagedObjectsIdsChangedEventArgs>)

Strongly typed notification for the DidSaveObjectIdsNotification constant.

ObserveObjectsDidChange(EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the ObjectsDidChangeNotification constant.

ObserveObjectsDidChange(NSObject, EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the ObjectsDidChangeNotification constant.

ObserveWillSave(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSaveNotification constant.

ObserveWillSave(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSaveNotification constant.

Applies to