/// <summary>Gets the media type to report when guessing a media type from an unknown file extension, or null if there is no default.</summary> public string GetDefaultMediaType() { return(StringUtility.Coalesce(DefaultMediaTypeOverride, defaultMediaType)); }
/// <summary>Gets the file extension to use when constructing a file name from an unknown media type, excluding the leading period, or /// null if there is no default. /// </summary> public string GetDefaultExtension() { return(StringUtility.Coalesce(DefaultExtensionOverride, defaultExtension)); }