update 20240812

This commit is contained in:
Stefan Hutter
2024-08-12 16:35:06 +02:00
parent 43c44e0aad
commit fc8811829d
7922 changed files with 205978 additions and 91947 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>API_NetFramework.Areas.HelpPage Namespace</title>
<link rel="stylesheet" type="text/css" href="msdn2019/toc.css" />
<script src="msdn2019/toc.js"></script>
@@ -74,14 +74,9 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div id="mainBody">
<h1 class="title">HelpPageConfigurationExtensions.SetActualRequestType (HttpConfiguration, Type, String, String) Method</h1>
<h1 class="title">API_NetFramework.Areas.HelpPage Namespace</h1>
<div class="metadata">
Namespace:
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
<br />Assembly: EDOKAAPI_NetFramework (in EDOKAAPI_NetFramework.dll)
@@ -89,8 +84,33 @@ 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>
<div id="syntaxCodeBlocks">
</div>
@@ -105,247 +125,309 @@ The help page will use this information to produce more accurate request samples
<div class="section_container">
<div id="syntaxSection" class="section">
<div id="syntaxCodeBlocks">
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCornerActive">
</div>
<div class="codeSnippetTab csFirstTab csActiveTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csActiveTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csActiveTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csActiveTab csLastTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCornerActive">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Classes</a></span>
<div>&nbsp;</div>
</div>
<div id="ClassSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<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="type" class="parameterList">
<dt>
<span class="parameter">
type
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>
</dd>
</dl>
<p>
The 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 />
<!-- Classes -->
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000355.html">ApiDescriptionExtensions</a>
</td>
<td>
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_0000000000000361.html">HelpPageAreaRegistration</a>
</td>
<td>
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000357.html">HelpPageConfig</a>
</td>
<td>
Use this class to customize the Help Page.
For example you can set a custom <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.idocumentationprovider">IDocumentationProvider</a> to supply the documentation
or you can provide the samples for the requests/responses.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
<img alt="Static" title="Static" src="msdn2019/static.png"></img>
</td>
<td>
<a href="topic_0000000000000364.html">HelpPageConfigurationExtensions</a>
</td>
<td>
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003AB.html">HelpPageSampleGenerator</a>
</td>
<td>
This class will generate the samples for the help page.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003B9.html">HelpPageSampleKey</a>
</td>
<td>
This is used to identify the place where the sample should be applied.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</div>
</td>
<td>
<a href="topic_00000000000003C6.html">ImageSample</a>
</td>
<td>
This represents an image sample on the help page. There's a display template named ImageSample associated with this class.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003CC.html">InvalidSample</a>
</td>
<td>
This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003D2.html">ObjectGenerator</a>
</td>
<td>
This class will create an object of a given type and populate it with sample data.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003D7.html">TextSample</a>
</td>
<td>
This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public class" title="Public class" src="msdn2019/pubclass.png"></img>
</td>
<td>
<a href="topic_00000000000003DD.html">XmlDocumentationProvider</a>
</td>
<td>
A custom <a target="_top" href=".html" onclick="this.target='';return true;">IDocumentationProvider</a> that reads the API documentation from an XML documentation file.
</td>
</tr>
<!-- Classes End -->
<!-- Standard Modules -->
<!-- Standard Modules End -->
</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);">Enumerations</a></span>
<div>&nbsp;</div>
</div>
<div id="EnumerationSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
">
<td>
<img alt="Public enumeration" title="Public enumeration" src="msdn2019/pubenum.png"></img>
</td>
<td>
<a href="topic_00000000000003D4.html">SampleDirection</a>
</td>
<td>
Indicates whether the sample is used for request or response
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
@@ -404,26 +486,8 @@ The help page will use this information to produce more accurate request samples
</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>
<div>&nbsp;</div>
</div>
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_000000000000034B.html">HelpPageConfigurationExtensions Class</a><br />
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
</div>
</div>
</div>
</div>
<div id="internal-toc-area">
@@ -442,4 +506,3 @@ The help page will use this information to produce more accurate request samples
</div>
</body>
</html>