Class StringPassThroughMediaTypeFormatter
Inheritance
StringPassThroughMediaTypeFormatter
Assembly: DotNetNuke.Web.dll
public class StringPassThroughMediaTypeFormatter : MediaTypeFormatter
Constructors
Declaration
public StringPassThroughMediaTypeFormatter()
Declaration
public StringPassThroughMediaTypeFormatter(IEnumerable<string> mediaTypes)
Parameters
Methods
Declaration
public override bool CanReadType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Declaration
public override bool CanWriteType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)
Declaration
public override Task<object> ReadFromStreamAsync(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)
Parameters
Returns
WriteToStreamAsync(Type, object, Stream, HttpContent, TransportContext)
Declaration
public override Task WriteToStreamAsync(Type type, object value, Stream writeStream, HttpContent content, TransportContext transportContext)
Parameters
Returns
Extension Methods