WriterOptions.cs 477 B

123456789101112131415161718
  1. using SharpCompress.Common;
  2. namespace SharpCompress.Writers
  3. {
  4. public class WriterOptions : OptionsBase
  5. {
  6. public WriterOptions(CompressionType compressionType)
  7. {
  8. CompressionType = compressionType;
  9. }
  10. public CompressionType CompressionType { get; set; }
  11. public static implicit operator WriterOptions(CompressionType compressionType)
  12. {
  13. return new WriterOptions(compressionType);
  14. }
  15. }
  16. }