DocumentFormatBase

DocumentFormatBase class

Represents the base class for document formats, providing common functionality for format instances.

public abstract class DocumentFormatBase : FormatFamilyBase, IDocumentFormat

Properties

Name Description
Extension { get; } Gets the file extension of the document format.
FormatFamily { get; } Gets the format family to which the document format belongs.
Id { get; } Gets the unique identifier for the format family.
Mime { get; } Gets the MIME type of the document format.
Name { get; } Gets the name of the format family.

Methods

Name Description
Equals(FormatFamilyBase) Determines whether this instance is equal to the specified FormatFamilyBase instance.
Equals(IDocumentFormat) Determines whether this instance is equal to the specified IDocumentFormat instance.
override Equals(object) Determines whether this instance is equal to the specified DocumentFormatBase instance.
override GetHashCode() Returns a hash code for the current object.
override ToString() Returns a string that represents the current object.
static FromMime<T>(string) Retrieves an instance of the specified type T that has the specified MIME type.
implicit operator Converts a DocumentFormatBase instance to a string implicitly.

See Also