Table of Contents

Class MediaTypeUtility

Namespace
Xunit
Assembly
xunit.v3.runner.utility.netfx.dll

This class provides mappings from media types (stored in attachments) to the intended file system extension when storing the attachment on disk.

public static class MediaTypeUtility
Inheritance
MediaTypeUtility
Inherited Members

Methods

GetFileExtension(string)

Gets the file extension for the given media type. If the media type is unknown, it will return .bin.