public NSUrl[] GetMountedVolumes(NSString [] properties, NSVolumeEnumerationOptions options) { using var array = NSArray.FromNSObjects(properties); return(GetMountedVolumes(array, options)); }
public static string[] GetDirectories(NSSearchPathDirectory directory, NSSearchPathDomain domainMask, bool expandTilde = true) { return(NSArray.StringArrayFromHandle(NSSearchPathForDirectoriesInDomains((nuint)(ulong)directory, (nuint)(ulong)domainMask, expandTilde))); }
NSDictionary(TKey[] keys, TValue[] values, bool validation) : base(NSArray.FromNSObjects(values), NSArray.FromNSObjects(keys)) { }
public NSDictionary(TKey key, TValue value) : base(NSArray.FromNSObjects(value), NSArray.FromNSObjects(key)) { }
static NSDictionary <TKey, TValue> GenericFromObjectsAndKeysInternal(NSArray objects, NSArray keys) { return(Runtime.GetNSObject <NSDictionary <TKey, TValue> > (_FromObjectsAndKeysInternal(objects.Handle, keys.Handle))); }
public NSUrlCredential(SecIdentity identity, SecCertificate [] certificates, NSUrlCredentialPersistence persistence) : this(identity.Handle, NSArray.FromNativeObjects(certificates).Handle, persistence) { }
internal NSMutableSet(params INativeObject [] objs) : this(NSArray.FromNSObjects(objs)) { }
public NSMutableSet(params string [] strings) : this(NSArray.FromStrings(strings)) { }
public NSMutableSet(params NSObject [] objs) : this(NSArray.FromNSObjects(objs)) { }