Update nach EDK-Read

This commit is contained in:
Stefan Hutter
2024-07-19 09:51:03 +02:00
parent 977d1b0c9f
commit 153fbef133
7735 changed files with 187935 additions and 103935 deletions

View File

@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; https://www.helixoft.com" />
<link rel="icon" href="favicon.ico">
<title>HelpPageConfigurationExtensions.SetSampleRequest (HttpConfiguration, Object, MediaTypeHeaderValue, String, String) Method</title>
<title>HelpPageConfigurationExtensions Class</title>
<link rel="stylesheet" type="text/css" href="msdn2019/toc.css" />
<script src="msdn2019/toc.js"></script>
@@ -74,11 +74,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div id="mainBody">
<h1 class="title">HelpPageConfigurationExtensions.SetSampleRequest (HttpConfiguration, Object, MediaTypeHeaderValue, String, String) Method</h1>
<h1 class="title">HelpPageConfigurationExtensions Class</h1>
<div class="metadata">
Namespace:
<a href="topic_00000000000002F6.html">EDOKAAPI_NetFramework.Areas.HelpPage</a>
<a href="topic_00000000000002F9.html">EDOKAAPI_NetFramework.Areas.HelpPage</a>
@@ -89,7 +89,6 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>Sets the sample request directly for the specified media type and action.</summary-info>
@@ -139,7 +138,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">&lt;Extension()&gt; _&nbsp;<br />Public Shared Sub SetSampleRequest( _&nbsp;<br /> ByVal <i>config</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>, _&nbsp;<br /> ByVal <i>sample</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a>, _&nbsp;<br /> ByVal <i>mediaType</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, _&nbsp;<br /> ByVal <i>controllerName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>, _&nbsp;<br /> ByVal <i>actionName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> _&nbsp;<br />)</pre>
<pre xml:space="preserve" class="brush: vb">Public Class HelpPageConfigurationExtensions</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -178,7 +177,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">public static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleRequest(&nbsp;<br /> this <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a> <i>config</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> <i>sample</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <i>mediaType</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>controllerName</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>actionName</i>&nbsp;<br />)</pre>
<pre xml:space="preserve" class="brush: csharp">public static class HelpPageConfigurationExtensions</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -218,7 +217,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">[Extension()]&nbsp;<br />public: &nbsp;<br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleRequest(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>^ <i>config</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ <i>sample</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^ <i>mediaType</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>controllerName</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>actionName</i>&nbsp;<br />) </pre>
<pre xml:space="preserve" class="brush: cpp">public ref class HelpPageConfigurationExtensions </pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -257,7 +256,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public &nbsp;<br /> Extension()&nbsp;<br />static function SetSampleRequest(&nbsp;<br /> <i>config</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>,&nbsp;<br /> <i>sample</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>,&nbsp;<br /> <i>mediaType</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>,&nbsp;<br /> <i>controllerName</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>,&nbsp;<br /> <i>actionName</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>&nbsp;<br />);</pre>
<pre xml:space="preserve" class="brush: js">public class HelpPageConfigurationExtensions</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -268,75 +267,6 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<h4 class="subHeading">
Parameters</h4><dl paramName="config" class="parameterList">
<dt>
<span class="parameter">
config
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>
</dd>
</dl>
<p>
The <a target="_top" href=".html" onclick="this.target='';return true;">HttpConfiguration</a>.
</p>
<dl paramName="sample" class="parameterList">
<dt>
<span class="parameter">
sample
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
</dd>
</dl>
<p>
The sample request.
</p>
<dl paramName="mediaType" class="parameterList">
<dt>
<span class="parameter">
mediaType
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>
</dd>
</dl>
<p>
The media type.
</p>
<dl paramName="controllerName" class="parameterList">
<dt>
<span class="parameter">
controllerName
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>
</dd>
</dl>
<p>
Name of the controller.
</p>
<dl paramName="actionName" class="parameterList">
<dt>
<span class="parameter">
actionName
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>
</dd>
</dl>
<p>
Name of the action.
</p>
<p />
@@ -363,6 +293,568 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Methods</a></span>
<div>&nbsp;</div>
</div>
<div id="MethodsSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000319.html">GetHelpPageApiModel(this HttpConfiguration, string)</a>
</td>
<td>
Gets the model that represents an API displayed on the help page. The model is initialized on the first call and cached for subsequent calls.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000316.html">GetHelpPageSampleGenerator(this HttpConfiguration)</a>
</td>
<td>
Gets the help page sample generator.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000318.html">GetModelDescriptionGenerator(this HttpConfiguration)</a>
</td>
<td>
Gets the model description generator.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000312.html">SetActualRequestType(this HttpConfiguration, Type, string, string)</a>
</td>
<td>
Specifies the actual type of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.objectcontent-1">ObjectContent&lt;T&gt;</a> passed to the <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httprequestmessage">HttpRequestMessage</a> in an action.
The help page will use this information to produce more accurate request samples.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000313.html">SetActualRequestType(this HttpConfiguration, Type, string, string, params string[])</a>
</td>
<td>
Specifies the actual type of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.objectcontent-1">ObjectContent&lt;T&gt;</a> passed to the <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httprequestmessage">HttpRequestMessage</a> in an action.
The help page will use this information to produce more accurate request samples.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000314.html">SetActualResponseType(this HttpConfiguration, Type, string, string)</a>
</td>
<td>
Specifies the actual type of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.objectcontent-1">ObjectContent&lt;T&gt;</a> returned as part of the <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httprequestmessage">HttpRequestMessage</a> in an action.
The help page will use this information to produce more accurate response samples.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000315.html">SetActualResponseType(this HttpConfiguration, Type, string, string, params string[])</a>
</td>
<td>
Specifies the actual type of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.objectcontent-1">ObjectContent&lt;T&gt;</a> returned as part of the <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httprequestmessage">HttpRequestMessage</a> in an action.
The help page will use this information to produce more accurate response samples.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030A.html">SetDocumentationProvider(this HttpConfiguration, IDocumentationProvider)</a>
</td>
<td>
Sets the documentation provider for help page.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000317.html">SetHelpPageSampleGenerator(this HttpConfiguration, HelpPageSampleGenerator)</a>
</td>
<td>
Sets the help page sample generator.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000310.html">SetSampleForMediaType(this HttpConfiguration, object, MediaTypeHeaderValue)</a>
</td>
<td>
Sets the sample directly for all actions with the specified media type.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000311.html">SetSampleForType(this HttpConfiguration, object, MediaTypeHeaderValue, Type)</a>
</td>
<td>
Sets the sample directly for all actions with the specified type and media type.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030B.html">SetSampleObjects(this HttpConfiguration, IDictionary&lt;TypeObject&gt;)</a>
</td>
<td>
Sets the objects that will be used by the formatters to produce sample requests/responses.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030C.html">SetSampleRequest(this HttpConfiguration, object, MediaTypeHeaderValue, string, string)</a>
</td>
<td>
Sets the sample request directly for the specified media type and action.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030D.html">SetSampleRequest(this HttpConfiguration, object, MediaTypeHeaderValue, string, string, params string[])</a>
</td>
<td>
Sets the sample request directly for the specified media type and action with parameters.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030E.html">SetSampleResponse(this HttpConfiguration, object, MediaTypeHeaderValue, string, string)</a>
</td>
<td>
Sets the sample request directly for the specified media type of the action.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_000000000000030F.html">SetSampleResponse(this HttpConfiguration, object, MediaTypeHeaderValue, string, string, params string[])</a>
</td>
<td>
Sets the sample response directly for the specified media type of the action with specific parameters.
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Extension Methods</a></span>
<div>&nbsp;</div>
</div>
<div id="ExtensionMethodsSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
inheritedMember
">
<td>
<img alt="Public extension method" title="Public extension method" src="msdn2019/pubextensionmethod.png"></img>
</td>
<td>
<a href="topic_00000000000002E2.html">NameOf(this object)</a>
</td>
<td>
(Defined by <a target="_top" href="topic_00000000000002E0.html" onclick="this.target='';return true;">NLogHelper</a>).
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<!-- Classes -->
<!-- Classes End -->
<!-- Standard Modules -->
<!-- Standard Modules End -->
@@ -416,6 +908,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">See Also</a></span>
@@ -424,14 +917,10 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_0000000000000306.html">HelpPageConfigurationExtensions Class</a><br />
<a href="topic_00000000000002F9.html">EDOKAAPI_NetFramework.Areas.HelpPage Namespace</a><br />
<a href="topic_00000000000002F6.html">EDOKAAPI_NetFramework.Areas.HelpPage Namespace</a><br />
</div>
</div>