public static NSMutableOrderedSet <TKey> operator +(NSMutableOrderedSet <TKey> first, NSOrderedSet <TKey> second) { if (first == null) { return(second != null ? new NSMutableOrderedSet <TKey> (second) : null); } if (second == null) { return(new NSMutableOrderedSet <TKey> (first)); } var copy = new NSMutableOrderedSet <TKey> (first); copy.UnionSet(second); return(copy); }
public static NSMutableOrderedSet <TKey> operator -(NSMutableOrderedSet <TKey> first, NSOrderedSet <TKey> second) { if (first == null) { return(null); } if (second == null) { return(new NSMutableOrderedSet <TKey> (first)); } var copy = new NSMutableOrderedSet <TKey> (first); copy.MinusSet(second); return(copy); }
public static NSOrderedSet operator +(NSOrderedSet first, NSOrderedSet second) { if (first == null) { return(new NSOrderedSet(second)); } if (second == null) { return(new NSOrderedSet(first)); } var copy = new NSMutableOrderedSet(first); copy.UnionSet(second); return(copy); }
public NSMutableOrderedSet(NSMutableOrderedSet <TKey> other) : base(other) { }