2
2
// Enums.cs: enumeration definitions for Foundation
4
4
// Copyright 2009-2010, Novell, Inc.
5
// Copyright 2011, 2012 Xamarin Inc
6
7
// Permission is hereby granted, free of charge, to any person obtaining
7
8
// a copy of this software and associated documentation files (the
82
public enum NSPropertyListMutabilityOptions {
84
MutableContainers = 1,
85
MutableContainersAndLeaves = 2
88
// Should mirror NSPropertyListMutabilityOptions
89
public enum NSPropertyListWriteOptions {
91
MutableContainers = 1,
92
MutableContainersAndLeaves = 2
95
// Should mirror NSPropertyListMutabilityOptions, but currently
96
// not implemented (always use Immutable/0)
97
public enum NSPropertyListReadOptions {
99
MutableContainers = 1,
100
MutableContainersAndLeaves = 2
81
103
public enum NSNetServicesStatus {
82
104
UnknownError = -72000,
83
105
CollisionError = -72001,
377
402
PrinterDescriptionDirectory = 20,
378
403
SharedPublicDirectory = 21,
379
404
PreferencePanesDirectory = 22,
405
ApplicationScriptsDirectory = 23,
380
406
ItemReplacementDirectory = 99,
381
407
AllApplicationsDirectory = 100,
382
AllLibrariesDirectory = 101
408
AllLibrariesDirectory = 101,
409
TrashDirectory = 102,
465
493
public enum NSUbiquitousKeyValueStoreChangeReason {
466
ServerChange, InitialSyncChange, QuotaViolationChange
494
ServerChange, InitialSyncChange, QuotaViolationChange, AccountChange
524
552
WithNameUpdating = 1 << 1
556
public enum NSAttributedStringEnumeration {
559
LongestEffectiveRangeNotRequired = 1 << 20
563
// MonoMac AppKit redefines this with more values
564
public enum NSUnderlineStyle {
569
public enum NSWritingDirection {
570
Natural = -1, LeftToRight = 0, RightToLeft = -1
574
public enum NSByteCountFormatterUnits {
584
UseYBOrHigher = 0x0FF << 8,
588
public enum NSByteCountFormatterCountStyle {
589
File, Memory, Decimal, Binary
593
public enum NSUrlBookmarkCreationOptions {
594
PreferFileIDResolution = 1 << 8,
595
MinimalBookmark = 1 << 9,
596
SuitableForBookmarkFile = 1 << 10,
597
WithSecurityScope = 1 << 11,
598
SecurityScopeAllowOnlyReadAccess = 1 << 12
602
public enum NSUrlBookmarkResolutionOptions {
604
WithoutMounting = 1 << 9,
605
WithSecurityScope = 1 << 10,
608
public enum NSLigatureType {
612
public enum NSDateComponentsWrappingBehavior {
614
WrapCalendarComponents = 1 << 0,
617
public enum NSUrlRequestNetworkServiceType {