HelpPageConfigurationExtensions..::..SetSampleObjects Method
Sets the objects that will be used by the formatters to produce sample requests/responses.
Namespace:
JiwaWebAPI.Areas.HelpPageAssembly: JiwaWebAPI (in JiwaWebAPI.dll)
Syntax
public static void SetSampleObjects( HttpConfiguration config, IDictionary<Type, Object> sampleObjects )
Public Shared Sub SetSampleObjects ( _ config As HttpConfiguration, _ sampleObjects As IDictionary(Of Type, Object) _ )
public: static void SetSampleObjects( HttpConfiguration^ config, IDictionary<Type^, Object^>^ sampleObjects )
Parameters
- config
- Type: HttpConfiguration
The HttpConfiguration.
- sampleObjects
- Type: IDictionary<(Of <(<'Type, Object>)>)>
The sample objects.