Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vs-mobiletools-engineering-service2/fafefb471fc0c4227ec9ce795187273a to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/fafefb471fc0c4227ec9ce795187273a to your computer and use it in GitHub Desktop.
dotnet-macOS API Generator diffs
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.Mac.Dotnet SDK API diff: unknown vs unknown
List of API changes between Xamarin.Mac.Dotnet versions unknown and unknown.
spouliot
sepoulio
1/12/2022
article
0b398d41-e947-9e75-eeb4-3fc5713e0b53
xamarin

Xamarin.Mac.Dotnet SDK API diff: unknown vs unknown

Namespace CoreData

Type Changed: CoreData.NSAsynchronousFetchResult

Modified properties:

-public virtual Foundation.NSObject[] FinalResult { get; }
+public virtual INSFetchRequestResult[] FinalResult { get; }

Type Changed: CoreData.NSAtomicStore

Modified properties:

-public virtual Foundation.NSSet CacheNodes { get; }
+public virtual Foundation.NSSet<NSAtomicStoreCacheNode> CacheNodes { get; }

Removed methods:

public virtual void AddCacheNodes (Foundation.NSSet cacheNodes);
public virtual void WillRemoveCacheNodes (Foundation.NSSet cacheNodes);

Added methods:

public virtual void AddCacheNodes (Foundation.NSSet<NSAtomicStoreCacheNode> cacheNodes);
public virtual void WillRemoveCacheNodes (Foundation.NSSet<NSAtomicStoreCacheNode> cacheNodes);

Type Changed: CoreData.NSAtomicStoreCacheNode

Modified properties:

-public virtual Foundation.NSDictionary PropertyCache { get; set; }
+public virtual Foundation.NSMutableDictionary<Foundation.NSString,Foundation.NSObject> PropertyCache { get; set; }

Type Changed: CoreData.NSBatchInsertRequestDictionaryHandler

Removed methods:

public virtual System.IAsyncResult BeginInvoke (Foundation.NSMutableDictionary dictionary, System.AsyncCallback callback, object object);
public virtual bool Invoke (Foundation.NSMutableDictionary dictionary);

Added methods:

public virtual System.IAsyncResult BeginInvoke (Foundation.NSMutableDictionary<Foundation.NSString,Foundation.NSObject> dictionary, System.AsyncCallback callback, object object);
public virtual bool Invoke (Foundation.NSMutableDictionary<Foundation.NSString,Foundation.NSObject> dictionary);

Type Changed: CoreData.NSCoreDataCoreSpotlightDelegate

Removed constructor:

[Obsolete ("Default constructor is not available")]
public NSCoreDataCoreSpotlightDelegate ();

Type Changed: CoreData.NSEntityDescription

Modified properties:

-public virtual Foundation.NSDictionary AttributesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSAttributeDescription> AttributesByName { get; }
-public virtual Foundation.NSDictionary PropertiesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSPropertyDescription> PropertiesByName { get; }
-public virtual Foundation.NSDictionary RelationshipsByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSRelationshipDescription> RelationshipsByName { get; }
-public virtual Foundation.NSDictionary SubentitiesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSEntityDescription> SubentitiesByName { get; }

Removed method:

public static Foundation.NSObject InsertNewObjectForEntityForName (string entityName, NSManagedObjectContext context);

Added method:

public static NSManagedObject InsertNewObject (string entityName, NSManagedObjectContext context);

Type Changed: CoreData.NSIncrementalStore

Modified constructors:

-public NSIncrementalStore (NSPersistentStoreCoordinator root, string name, Foundation.NSUrl url, Foundation.NSDictionary options)
+protected NSIncrementalStore (NSPersistentStoreCoordinator root, string name, Foundation.NSUrl url, Foundation.NSDictionary options)

Removed method:

public static Foundation.NSObject IdentifierForNewStoreAtURL (Foundation.NSUrl storeUrl);

Added method:

public static Foundation.NSObject IdentifierForNewStore (Foundation.NSUrl storeUrl);

Type Changed: CoreData.NSIncrementalStoreNode

Removed constructor:

public NSIncrementalStoreNode (NSManagedObjectID objectId, Foundation.NSDictionary values, ulong version);

Added constructor:

public NSIncrementalStoreNode (NSManagedObjectID objectID, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> values, ulong version);

Removed method:

public virtual void Update (Foundation.NSDictionary values, ulong version);

Added method:

public virtual void Update (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> values, ulong version);

Type Changed: CoreData.NSManagedObject

Modified properties:

-public virtual Foundation.NSDictionary ChangedValues { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> ChangedValues { get; }

Removed methods:

public virtual Foundation.NSDictionary CommittedValuesForKeys (string[] keys);
public virtual IntPtr PrimitiveValueForKey (string key);
public virtual void SetPrimitiveValue (IntPtr value, string key);
public virtual void SetValue (IntPtr value, string key);
public virtual IntPtr ValueForKey (string key);

Added methods:

public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetCommittedValues (string[] keys);
public virtual Foundation.NSObject GetPrimitiveValue (string key);
public virtual Foundation.NSObject GetValue (string key);
public virtual void SetPrimitiveValue (Foundation.NSObject value, string key);
public virtual void SetValue (Foundation.NSObject value, string key);

Type Changed: CoreData.NSManagedObjectContext

Modified properties:

-public virtual Foundation.NSSet DeletedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> DeletedObjects { get; }
-public virtual Foundation.NSSet InsertedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> InsertedObjects { get; }
-public virtual Foundation.NSSet RegisteredObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> RegisteredObjects { get; }
-public virtual Foundation.NSSet UpdatedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> UpdatedObjects { get; }

Removed methods:

public virtual void AssignObject (IntPtr object1, NSPersistentStore store);
public virtual void ObserveValueForKeyPath (string keyPath, IntPtr object1, Foundation.NSDictionary change, IntPtr context);

Added methods:

public virtual void AssignObject (Foundation.NSObject object1, NSPersistentStore store);
public virtual void ObserveValue (string keyPath, Foundation.NSObject object1, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> change, IntPtr context);

Type Changed: CoreData.NSManagedObjectModel

Modified properties:

-public virtual Foundation.NSDictionary EntitiesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSEntityDescription> EntitiesByName { get; }
-public virtual Foundation.NSDictionary EntityVersionHashesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSData> EntityVersionHashesByName { get; }
-public virtual Foundation.NSDictionary FetchRequestTemplatesByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSFetchRequest> FetchRequestTemplatesByName { get; }
-public virtual Foundation.NSDictionary LocalizationDictionary { get; set; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> LocalizationDictionary { get; set; }

Removed methods:

public virtual NSFetchRequest FetchRequestFromTemplateWithName (string name, Foundation.NSDictionary variables);
public virtual NSFetchRequest FetchRequestTemplateForName (string name);
public virtual bool IsConfiguration (string configuration, Foundation.NSDictionary metadata);
public static NSManagedObjectModel MergedModelFromBundles (Foundation.NSBundle[] bundles, Foundation.NSDictionary metadata);
public static NSManagedObjectModel ModelByMergingModels (NSManagedObjectModel[] models, Foundation.NSDictionary metadata);

Added methods:

public virtual NSFetchRequest GetFetchRequestFromTemplate (string name, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> variables);
public virtual NSFetchRequest GetFetchRequestTemplate (string name);
public static NSManagedObjectModel GetMergedModel (Foundation.NSBundle[] bundles, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
public static NSManagedObjectModel GetModelByMerging (NSManagedObjectModel[] models, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
public virtual bool IsConfiguration (string configuration, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);

Type Changed: CoreData.NSMappingModel

Modified properties:

-public virtual Foundation.NSDictionary EntityMappingsByName { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,CoreData.NSEntityMapping> EntityMappingsByName { get; }

Removed method:

public static NSMappingModel MappingModelFromBundles (Foundation.NSBundle[] bundles, NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel);

Added method:

public static NSMappingModel FromBundles (Foundation.NSBundle[] bundles, NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel);

Type Changed: CoreData.NSMergeConflict

Removed constructor:

public NSMergeConflict (NSManagedObject srcObject, System.UIntPtr newvers, System.UIntPtr oldvers, Foundation.NSDictionary cachesnap, Foundation.NSDictionary persnap);

Added constructor:

public NSMergeConflict (NSManagedObject srcObject, System.UIntPtr newvers, System.UIntPtr oldvers, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> cachesnap, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> persnap);

Modified properties:

-public virtual Foundation.NSDictionary CachedSnapshot { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> CachedSnapshot { get; }
-public virtual Foundation.NSDictionary ObjectSnapshot { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> ObjectSnapshot { get; }
-public virtual Foundation.NSDictionary PersistedSnapshot { get; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> PersistedSnapshot { get; }

Type Changed: CoreData.NSMergePolicy

Removed method:

public virtual bool ResolveConflictserror (NSMergeConflict[] list, out Foundation.NSError error);

Added method:

public virtual bool ResolveConflicts (NSMergeConflict[] list, out Foundation.NSError error);

Type Changed: CoreData.NSPersistentStore

Modified constructors:

-public NSPersistentStore (NSPersistentStoreCoordinator root, string name, Foundation.NSUrl url, Foundation.NSDictionary options)
+protected NSPersistentStore (NSPersistentStoreCoordinator root, string name, Foundation.NSUrl url, Foundation.NSDictionary options)

Modified properties:

-public virtual Foundation.NSDictionary Metadata { get; set; }
+public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Metadata { get; set; }

Removed methods:

public static Foundation.NSDictionary MetadataForPersistentStoreWithUrl (Foundation.NSUrl url, out Foundation.NSError error);
public static bool SetMetadata (Foundation.NSDictionary metadata, Foundation.NSUrl url, out Foundation.NSError error);

Added methods:

public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetMetadataForPersistentStore (Foundation.NSUrl url, out Foundation.NSError error);
public static bool SetMetadata (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, Foundation.NSUrl url, out Foundation.NSError error);

Type Changed: CoreData.NSPersistentStoreCoordinator

Removed property:

public static Foundation.NSString PersistentStoreUbiquitousContentUrlLKey { get; }

Modified properties:

-public Foundation.NSDictionary RegisteredStoreTypes { get; }
+public Foundation.NSDictionary<Foundation.NSString,Foundation.NSValue> RegisteredStoreTypes { get; }

Added property:

public static Foundation.NSString PersistentStoreUbiquitousContentUrlKey { get; }

Removed methods:

public virtual NSPersistentStore AddPersistentStoreWithType (Foundation.NSString storeType, string configuration, Foundation.NSUrl storeUrl, Foundation.NSDictionary options, out Foundation.NSError error);
public virtual Foundation.NSObject ExecuteRequestwithContexterror (NSPersistentStoreRequest request, NSManagedObjectContext context, out Foundation.NSError error);
public virtual Foundation.NSDictionary MetadataForPersistentStore (NSPersistentStore store);
public virtual void SetMetadata (Foundation.NSDictionary metadata, NSPersistentStore store);

Added methods:

public virtual NSPersistentStore AddPersistentStore (Foundation.NSString storeType, string configuration, Foundation.NSUrl storeUrl, Foundation.NSDictionary options, out Foundation.NSError error);
public virtual Foundation.NSObject Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out Foundation.NSError error);
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetMetadata (NSPersistentStore store);
public virtual void SetMetadata (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, NSPersistentStore store);

Type Changed: CoreData.NSSaveChangesRequest

Removed constructor:

public NSSaveChangesRequest (Foundation.NSSet insertedObjects, Foundation.NSSet updatedObjects, Foundation.NSSet deletedObjects, Foundation.NSSet lockedObjects);

Added constructor:

public NSSaveChangesRequest (Foundation.NSSet<NSManagedObject> insertedObjects, Foundation.NSSet<NSManagedObject> updatedObjects, Foundation.NSSet<NSManagedObject> deletedObjects, Foundation.NSSet<NSManagedObject> lockedObjects);

Modified properties:

-public virtual Foundation.NSSet DeletedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> DeletedObjects { get; }
-public virtual Foundation.NSSet InsertedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> InsertedObjects { get; }
-public virtual Foundation.NSSet LockedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> LockedObjects { get; }
-public virtual Foundation.NSSet UpdatedObjects { get; }
+public virtual Foundation.NSSet<NSManagedObject> UpdatedObjects { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment