TextType

TextType structure

Represents one supportable textual resource type

public struct TextType : IEquatable<TextType>, IResourceType

Properties

Name Description
static Css { get; } CSS type of the textual resource
static Undefined { get; } Special value, which marks undefined, unknown or unsupported textual resource
static Xml { get; } XML type of the textual resource
FileExtension { get; } File extension (without leading dot character) of a particular textual resource
FormalName { get; } Returns a formal name of this textual resource type
MimeCode { get; } MIME code of a particular textual resource type

Methods

Name Description
static ParseFromFilenameWithExtension(string) Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension
override Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another “TextType” instance
Equals(TextType) Determines whether this instance is equal with specified “TextType” instance
override GetHashCode() Returns a hash-code, which is a constant number for this specific value type
operator == Defines whether two specific “TextType” instances are equal
operator != Defines whether two specific “TextType” instances are not equal

See Also