GetExtensions(string) Method
Gets the extensions for a given media type (including the preceding dot).
Namespace
Statiq.Common
Containing Type
MediaTypes

Syntax

public static IEnumerable<string> GetExtensions(string mediaType)

Parameters

Name Type Description
mediaType string The media type to get extensions for.

Return Value

Type Description
IEnumerable<string> The extensions that result in the specified media type.