IApiResponseMetadataProvider Interface¶
Summary¶
Provides a return type and a set of possible content types returned by a successful execution of the action.
Properties¶
-
Type
()¶ Optimistic return type of the action.
Return type: System.Type Type Type { get; }
-
Methods¶
-
SetContentTypes
(System.Collections.Generic.IList<MediaTypeHeaderValue>)¶ Configures a collection of allowed content types which can be produced by the action.
Arguments: - contentTypes (System.Collections.Generic.IList{MediaTypeHeaderValue}) –
void SetContentTypes(IList<MediaTypeHeaderValue> contentTypes)
-