using System; using Image.Output; namespace ConsoleInterface { /// /// TaskExecutorOptions is a class containing various parameters for the class. /// public class TaskExecutorOptions { private IFileOutputFormatter _fileOutputFormatter; /// /// The file output path formatter. It cannot be null. /// A implementation of . /// public IFileOutputFormatter FileOutputFormatter { get => _fileOutputFormatter; set => _fileOutputFormatter = 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; } }