17 lines
No EOL
416 B
C#
17 lines
No EOL
416 B
C#
using System;
|
|
|
|
namespace Image
|
|
{
|
|
public class TaskExecutorOptions
|
|
{
|
|
private IOutputFormatter _outputFormatter;
|
|
|
|
public IOutputFormatter OutputFormatter
|
|
{
|
|
get => _outputFormatter;
|
|
set => _outputFormatter = value ?? throw new ArgumentException("Output formatter cannot be null!");
|
|
}
|
|
|
|
public bool EnableCompression { get; set; } = true;
|
|
}
|
|
} |