using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// /// public enum OpenDialogProperty { /// /// The open file /// openFile, /// /// The open directory /// openDirectory, /// /// The multi selections /// multiSelections, /// /// The show hidden files /// showHiddenFiles, /// /// The create directory /// [SupportedOSPlatform("macos")] createDirectory, /// /// The prompt to create /// [SupportedOSPlatform("windows")] promptToCreate, /// /// The no resolve aliases /// [SupportedOSPlatform("macos")] noResolveAliases, /// /// Treat packages, such as .app folders, as a directory instead of a file. /// [SupportedOSPlatform("macos")] treatPackageAsDirectory, /// /// Don't add the item being opened to recent documents list /// [SupportedOSPlatform("windows")] dontAddToRecent } /// /// /// public enum SaveDialogProperty { /// /// The show hidden files /// showHiddenFiles, /// /// The create directory /// [SupportedOSPlatform("macos")] createDirectory, /// /// Treat packages, such as .app folders, as a directory instead of a file. /// [SupportedOSPlatform("macos")] treatPackageAsDirectory, /// /// Sets whether the user will be presented a confirmation dialog if the user types a file name that already exists. /// [SupportedOSPlatform("linux")] showOverwriteConfirmation, /// /// Don't add the item being opened to recent documents list /// [SupportedOSPlatform("windows")] dontAddToRecent } }