ContentType Property
Definition
- Namespace
- Codebelt.Extensions.Carter.Response
- Assemblies
- Codebelt.Extensions.Carter.dll
ContentType
Gets the matched content type determined by the most recent successful call to CanHandle(MediaTypeHeaderValue).
public string ContentType { get; }
Property Value
- string
The matched content type media type string, or
nullif CanHandle(MediaTypeHeaderValue) has not yet been called successfully.