/// <summary>
        /// Constructor that creates a deep copy of given <see cref="CompressionProviderFactory"/> object.
        /// </summary>
        /// <param name="other"><see cref="CompressionProviderFactory"/> to copy from.</param>
        public CompressionProviderFactory(CompressionProviderFactory other)
        {
            if (other == null)
            {
                throw LogHelper.LogArgumentNullException(nameof(other));
            }

            CustomCompressionProvider = other.CustomCompressionProvider;
        }
 /// <summary>
 /// Static constructor that initializes the default <see cref="CompressionProviderFactory"/>.
 /// </summary>
 static CompressionProviderFactory()
 {
     Default = new CompressionProviderFactory();
 }