// // FindFileOptions.cs // // Author: // Michael Becker // // Copyright (c) 2022 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . using System; namespace MBS.Framework { /// /// Controls the behavior of relative file resolution. /// [Flags()] public enum FindFileOptions { /// /// Returns all matching fully-qualified file paths across all global, /// application, and user directories. /// All = 1, /// /// Returns only file paths that are writable by the user (i.e., in the /// user's local or roaming data directory). /// UserWritable = 2, /// /// Allows the user to create a file if it does not exist (i.e., returns /// a file name even if it does not exist) /// Create = 4 } }