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