Search Results for

    Show / Hide Table of Contents

    Class MimeTypeExtensions

    Inheritance
    object
    MimeTypeExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public static class MimeTypeExtensions

    Fields

    | Edit this page View Source

    InspectorNames

    Declaration
    public static readonly Dictionary<string, string> InspectorNames
    Field Value
    Type Description
    Dictionary<string, string>

    Methods

    | Edit this page View Source

    GetExtension(MimeType)

    Declaration
    public static string GetExtension(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    string
    | Edit this page View Source

    GetInspectorName(MimeType)

    Declaration
    public static string GetInspectorName(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    string
    | Edit this page View Source

    GetNormalizedContentType(MimeType, string)

    Declaration
    public static string GetNormalizedContentType(this MimeType mimeType, string fallback = null)
    Parameters
    Type Name Description
    MimeType mimeType
    string fallback
    Returns
    Type Description
    string
    | Edit this page View Source

    IsAudio(MimeType)

    Declaration
    public static bool IsAudio(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsDocument(MimeType)

    Declaration
    public static bool IsDocument(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsImage(MimeType)

    Declaration
    public static bool IsImage(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsJson(MimeType)

    Declaration
    public static bool IsJson(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsText(MimeType)

    Declaration
    public static bool IsText(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsVideo(MimeType)

    Declaration
    public static bool IsVideo(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsXml(MimeType)

    Declaration
    public static bool IsXml(this MimeType mimeType)
    Parameters
    Type Name Description
    MimeType mimeType
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation