HelpPageSampleGenerator Methods
The HelpPageSampleGenerator type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals(System.Object) | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetActionSample |
Search for samples that are provided directly through ActionSamples.
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetSample |
Gets the request or response body samples.
|
|
GetSampleObject |
Gets the sample object that will be serialized by the formatters.
First, it will look at the SampleObjects. If no sample object is found, it will try to create
one using DefaultSampleObjectFactory(HelpPageSampleGenerator, Type) (which wraps an ObjectGenerator) and other
factories in SampleObjectFactories.
|
|
GetSampleRequests |
Gets the request body samples for a given ApiDescription.
|
|
GetSampleResponses |
Gets the response body samples for a given ApiDescription.
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ResolveHttpRequestMessageType |
Resolves the actual type of ObjectContent passed to the HttpRequestMessage in an action.
|
|
ResolveType |
Resolves the type of the action parameter or return value when HttpRequestMessage or HttpResponseMessage is used.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
WriteSampleObjectUsingFormatter |
Writes the sample object using formatter.
|