The FormatInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FormatInfo | Initializes a new instance of the FormatInfo class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns the string representation of this object
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
DefaultExtension |
The default file extension to use for this results format
| |
Encoding |
The encoding to be used when streaming the result
| |
MediaTypes |
Get the list of media types that are recognized for this results format
| |
SerializedModel |
Returns the model(s) that the format can be used to serialize
|