HelpPageSampleGenerator..::..WriteSampleObjectUsingFormatter Method
Writes the sample object using formatter.
Namespace:
JiwaWebAPI.Areas.HelpPageAssembly: JiwaWebAPI (in JiwaWebAPI.dll)
Syntax
[SuppressMessageAttribute] public virtual Object WriteSampleObjectUsingFormatter( MediaTypeFormatter formatter, Object value, Type type, MediaTypeHeaderValue mediaType )
<SuppressMessageAttribute> _ Public Overridable Function WriteSampleObjectUsingFormatter ( _ formatter As MediaTypeFormatter, _ value As Object, _ type As Type, _ mediaType As MediaTypeHeaderValue _ ) As Object
[SuppressMessageAttribute] public: virtual Object^ WriteSampleObjectUsingFormatter( MediaTypeFormatter^ formatter, Object^ value, Type^ type, MediaTypeHeaderValue^ mediaType )
Parameters
- formatter
- Type: MediaTypeFormatter
The formatter.
- value
- Type: Object
The value.
- type
- Type: Type
The type.
- mediaType
- Type: MediaTypeHeaderValue
Type of the media.