using System; namespace Image { /// /// TaskExecutorOptions is a class containing various parameters for the class. /// public class TaskExecutorOptions { private IFileOutputPathFormatter _fileOutputPathFormatter; /// /// The file output path formatter. It cannot be null. /// A implementation of . /// public IFileOutputPathFormatter FileOutputPathFormatter { get => _fileOutputPathFormatter; set => _fileOutputPathFormatter = value ?? throw new ArgumentException("Output formatter cannot be null!"); } /// /// A boolean indicating if compression should be performed after cleaning the images. /// public bool EnableCompression { get; set; } = true; } }