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