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.SetActualRequestType (HttpConfiguration, Type, String, String) Method</title>
<title>HelpPageConfigurationExtensions.SetSampleResponse (HttpConfiguration, Object, MediaTypeHeaderValue, String, String, String()) Method</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.SetActualRequestType (HttpConfiguration, Type, String, String) Method</h1>
<h1 class="title">HelpPageConfigurationExtensions.SetSampleResponse (HttpConfiguration, Object, MediaTypeHeaderValue, String, String, String()) Method</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,8 +89,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>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.</summary-info>
<summary-info>Sets the sample response directly for the specified media type of the action with specific parameters.</summary-info>
@@ -140,7 +139,7 @@ The help page will use this information to produce more accurate request samples
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">&lt;Extension()&gt; _&nbsp;<br />Public Shared Sub SetActualRequestType( _&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>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</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">&lt;Extension()&gt; _&nbsp;<br />Public Shared Sub SetSampleResponse( _&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 /> ByVal ParamArray <i>parameterNames</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>() _&nbsp;<br />)</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -179,7 +178,7 @@ The help page will use this information to produce more accurate request samples
</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> SetActualRequestType(&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.type">Type</a> <i>type</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 <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleResponse(&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 /> params <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>[] <i>parameterNames</i>&nbsp;<br />)</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -219,7 +218,7 @@ The help page will use this information to produce more accurate request samples
</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> SetActualRequestType(&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.type">Type</a>^ <i>type</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">[Extension()]&nbsp;<br />public: &nbsp;<br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleResponse(&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 /> ...array&lt; array&lt; <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ &gt;^ &gt;^ <i>parameterNames</i>&nbsp;<br />) </pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -258,7 +257,7 @@ The help page will use this information to produce more accurate request samples
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public &nbsp;<br /> Extension()&nbsp;<br />static function SetActualRequestType(&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>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</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 &nbsp;<br /> Extension()&nbsp;<br />static function SetSampleResponse(&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 /> ... <i>parameterNames</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>[]&nbsp;<br />);</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -283,18 +282,31 @@ The help page will use this information to produce more accurate request samples
<p>
The <a target="_top" href=".html" onclick="this.target='';return true;">HttpConfiguration</a>.
</p>
<dl paramName="type" class="parameterList">
<dl paramName="sample" class="parameterList">
<dt>
<span class="parameter">
type
sample
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
</dd>
</dl>
<p>
The type.
The sample response.
</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>
@@ -322,6 +334,19 @@ The help page will use this information to produce more accurate request samples
<p>
Name of the action.
</p>
<dl paramName="parameterNames" class="parameterList">
<dt>
<span class="parameter">
parameterNames
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>[]
</dd>
</dl>
<p>
The parameter names.
</p>
<p />
@@ -412,11 +437,11 @@ The help page will use this information to produce more accurate request samples
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_0000000000000306.html">HelpPageConfigurationExtensions Class</a><br />
<a href="topic_0000000000000309.html">HelpPageConfigurationExtensions Class</a><br />
<a href="topic_00000000000002F6.html">EDOKAAPI_NetFramework.Areas.HelpPage Namespace</a><br />
<a href="topic_00000000000002F9.html">EDOKAAPI_NetFramework.Areas.HelpPage Namespace</a><br />