Smdn.Fundamental.MimeType 4.0.1

Prefix Reserved
dotnet add package Smdn.Fundamental.MimeType --version 4.0.1                
NuGet\Install-Package Smdn.Fundamental.MimeType -Version 4.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Smdn.Fundamental.MimeType" Version="4.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smdn.Fundamental.MimeType --version 4.0.1                
#r "nuget: Smdn.Fundamental.MimeType, 4.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smdn.Fundamental.MimeType as a Cake Addin
#addin nuget:?package=Smdn.Fundamental.MimeType&version=4.0.1

// Install Smdn.Fundamental.MimeType as a Cake Tool
#tool nuget:?package=Smdn.Fundamental.MimeType&version=4.0.1                

Smdn.Fundamental.MimeType-4.0.1

Smdn.Fundamental.MimeType.dll

API List

List of APIs exposed by assembly Smdn.Fundamental.MimeType-4.0.1 (net8.0)

// Smdn.Fundamental.MimeType.dll (Smdn.Fundamental.MimeType-4.0.1)
//   Name: Smdn.Fundamental.MimeType
//   AssemblyVersion: 4.0.1.0
//   InformationalVersion: 4.0.1+3675184afb36291ccc35de4ad300197aca5f85db
//   TargetFramework: .NETCoreApp,Version=v8.0
//   Configuration: Release
//   Referenced assemblies:
//     Microsoft.Win32.Registry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     Smdn.Fundamental.Exception, Version=3.0.3.0, Culture=neutral
//     System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
//     System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#nullable enable annotations

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Smdn;

namespace Smdn {
  [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
  public sealed class MimeType :
    IEquatable<MimeType>,
    IEquatable<string>,
    ISpanFormattable,
    ISpanParsable<MimeType>,
    IUtf8SpanFormattable,
    IUtf8SpanParsable<MimeType>
  {
    public static readonly MimeType ApplicationOctetStream; // = "application/octet-stream"
    public static readonly MimeType ApplicationXWwwFormUrlEncoded; // = "application/x-www-form-urlencoded"
    public static readonly MimeType MessageExternalBody; // = "message/external-body"
    public static readonly MimeType MessagePartial; // = "message/partial"
    public static readonly MimeType MessageRfc822; // = "message/rfc822"
    public static readonly MimeType MultipartAlternative; // = "multipart/alternative"
    public static readonly MimeType MultipartDigest; // = "multipart/digest"
    public static readonly MimeType MultipartFormData; // = "multipart/form-data"
    public static readonly MimeType MultipartMixed; // = "multipart/mixed"
    public static readonly MimeType MultipartParallel; // = "multipart/parallel"
    public static readonly MimeType TextHtml; // = "text/html"
    public static readonly MimeType TextPlain; // = "text/plain"
    public static readonly MimeType TextRtf; // = "text/rtf"

    public static MimeType CreateApplicationType(string subType) {}
    public static MimeType CreateAudioType(string subType) {}
    public static MimeType CreateFontType(string subType) {}
    public static MimeType CreateImageType(string subType) {}
    public static MimeType CreateModelType(string subType) {}
    public static MimeType CreateMultipartType(string subType) {}
    public static MimeType CreateTextType(string subType) {}
    public static MimeType CreateVideoType(string subType) {}
    public static IEnumerable<string> FindExtensionsByMimeType(MimeType mimeType) {}
    public static IEnumerable<string> FindExtensionsByMimeType(MimeType mimeType, string mimeTypesFile) {}
    public static IEnumerable<string> FindExtensionsByMimeType(string mimeType) {}
    public static IEnumerable<string> FindExtensionsByMimeType(string mimeType, string mimeTypesFile) {}
    public static MimeType? FindMimeTypeByExtension(string extensionOrPath) {}
    public static MimeType? FindMimeTypeByExtension(string extensionOrPath, string mimeTypesFile) {}
    public static MimeType Parse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider = null) {}
    public static MimeType Parse(ReadOnlySpan<char> s, IFormatProvider? provider = null) {}
    public static MimeType Parse(string s, IFormatProvider? provider = null) {}
    public static bool TryParse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [NotNullWhen(true)] out MimeType? result) {}
    public static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out MimeType result) {}
    public static bool TryParse(string? s, IFormatProvider? provider, [NotNullWhen(true)] out MimeType result) {}
    public static bool TryParse(string? s, [NotNullWhen(true)] out MimeType? result) {}
    [return: NotNullIfNotNull("mimeType")] public static explicit operator string?(MimeType? mimeType) {}

    public MimeType((string Type, string SubType) mimeType) {}
    public MimeType(ReadOnlySpan<char> type, ReadOnlySpan<char> subType) {}
    public MimeType(string mimeType) {}
    public MimeType(string type, string subType) {}

    public bool IsApplication { get; }
    public bool IsApplicationOctetStream { get; }
    public bool IsApplicationXWwwFormUrlEncoded { get; }
    public bool IsAudio { get; }
    public bool IsFont { get; }
    public bool IsImage { get; }
    public bool IsMessage { get; }
    public bool IsMessageExternalBody { get; }
    public bool IsMessagePartial { get; }
    public bool IsMessageRfc822 { get; }
    public bool IsModel { get; }
    public bool IsMultipart { get; }
    public bool IsMultipartAlternative { get; }
    public bool IsMultipartDigest { get; }
    public bool IsMultipartFormData { get; }
    public bool IsMultipartMixed { get; }
    public bool IsMultipartParallel { get; }
    public bool IsText { get; }
    public bool IsTextHtml { get; }
    public bool IsTextPlain { get; }
    public bool IsVideo { get; }
    public ReadOnlyMemory<char> SubTypeMemory { get; }
    public ReadOnlySpan<char> SubTypeSpan { get; }
    public ReadOnlyMemory<char> TypeMemory { get; }
    public ReadOnlySpan<char> TypeSpan { get; }

    public void Deconstruct(out string type, out string subType) {}
    public bool Equals(MimeType? other) {}
    public bool Equals(MimeType? other, StringComparison comparisonType) {}
    public bool Equals(ReadOnlySpan<char> other, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public bool Equals(string? other) {}
    public bool Equals(string? other, StringComparison comparisonType) {}
    public override bool Equals(object? obj) {}
    public int GetHashCode(StringComparison comparisonType) {}
    public override int GetHashCode() {}
    public bool SubTypeEquals(MimeType? mimeType, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public bool SubTypeEquals(ReadOnlySpan<char> subType, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public bool SubTypeEquals(string? subType, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public override string ToString() {}
    public string ToString(string? format, IFormatProvider? formatProvider) {}
    public bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) {}
    public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format, IFormatProvider? provider) {}
    public bool TypeEquals(MimeType? mimeType, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public bool TypeEquals(ReadOnlySpan<char> type, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
    public bool TypeEquals(string? type, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) {}
  }
}

namespace Smdn.Formats.Mime {
  public static class MimeTypeStringExtensions {
    public static (string Type, string SubType) Split(string? mimeType) {}
    public static bool TrySplit(string? mimeType, out (string Type, string SubType) result) {}
  }
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Smdn.Fundamental.MimeType:

Package Downloads
Smdn

Smdn.dll, fundamental utility and extension library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 231 12/30/2023
4.0.0 367 12/29/2023
3.2.0 170 12/28/2023
3.1.0 631 4/25/2022
3.0.2 417 3/5/2022
3.0.1 274 12/12/2021
3.0.0 2,039 8/20/2021