AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

.NET API 960,512 bytes

 MimeType

public class MimeType : IEquatable<MimeType>
Represents an Internet media type.
public string Content { get; }

Gets the content part, i.e. everything without the parameters.

public string GeneralType { get; }

Gets the general type.

public IEnumerable<string> Keys { get; }

Gets an iterator over all integrated keys.

public string MediaType { get; }

Gets the media type, if specified.

public string Suffix { get; }

Gets the suffix, if any.

public MimeType(string value)

Creates a new MIME type.

public static bool op_Equality(MimeType a, MimeType b)

Runs the Equals method from a with b.

public static bool op_Inequality(MimeType a, MimeType b)

Runs the negated Equals method from a with b.

public bool Equals(MimeType other)

Compares the MIME types without considering their parameters.

public string GetParameter(string key)

Returns the value of the parameter with the specified key.