MimeTypeSelector Class |
Namespace: VDS.RDF
The MimeTypeSelector type exposes the following members.
Name | Description | |
---|---|---|
MimeTypeSelector |
Creates a new MIME Type Selector.
|
Name | Description | |
---|---|---|
Charset |
Gets the Charset for the selector (may be null if none specified).
| |
IsAny |
Gets whether the selector if for a */* pattern i.e. accept any.
| |
IsInvalid |
Gets whether the selector is invalid.
| |
IsRange |
Gets whether the selector is for a type/* pattern i.e. accept any sub-type of the given type.
| |
IsSpecific |
Gets whether the selector is for a specific MIME type e.g. type/sub-type.
| |
Order |
Gets the order of apperance for the selector (used as precedence tiebreaker where necessary).
| |
Quality |
Gets the quality for the selector (range of 0.0-1.0).
| |
RangeType |
Gets the range type if this is a range selector.
| |
Type |
Gets the selected type.
|
Name | Description | |
---|---|---|
CompareTo |
Sorts the selector in precedence order according to the content negotiation rules from the relevant RFCs.
| |
Create |
Creates a MIME Type selector.
| |
CreateSelectors |
Creates an enumeration of MIME type selectors.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Gets the string representation of the selector as it would appear in an Accept header.
(Overrides ObjectToString.) |