Update nach EDK-Read
This commit is contained in:
@@ -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.SetActualResponseType (HttpConfiguration, Type, String, String) Method</title>
|
||||
<title>HelpPageConfigurationExtensions.SetSampleForType 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.SetActualResponseType (HttpConfiguration, Type, String, String) Method</h1>
|
||||
<h1 class="title">HelpPageConfigurationExtensions.SetSampleForType 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<T></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.</summary-info>
|
||||
<summary-info>Sets the sample directly for all actions with the specified type and media type.</summary-info>
|
||||
|
||||
|
||||
|
||||
@@ -140,7 +139,7 @@ The help page will use this information to produce more accurate response sample
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb"><Extension()> _ <br />Public Shared Sub SetActualResponseType( _ <br /> ByVal <i>config</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>, _ <br /> ByVal <i>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>, _ <br /> ByVal <i>controllerName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>, _ <br /> ByVal <i>actionName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> _ <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: vb"><Extension()> _ <br />Public Shared Sub SetSampleForType( _ <br /> ByVal <i>config</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>, _ <br /> ByVal <i>sample</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a>, _ <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>, _ <br /> ByVal <i>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> _ <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 response sample
|
||||
</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> SetActualResponseType( <br /> this <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a> <i>config</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>controllerName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>actionName</i> <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> SetSampleForType( <br /> this <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a> <i>config</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> <i>sample</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <i>mediaType</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i> <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 response sample
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCpp">
|
||||
<pre xml:space="preserve" class="brush: cpp">[Extension()] <br />public: <br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetActualResponseType( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>^ <i>config</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>controllerName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>actionName</i> <br />) </pre>
|
||||
<pre xml:space="preserve" class="brush: cpp">[Extension()] <br />public: <br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleForType( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>^ <i>config</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ <i>sample</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^ <i>mediaType</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i> <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 response sample
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeJScript">
|
||||
<pre xml:space="preserve" class="brush: js">public <br /> Extension() <br />static function SetActualResponseType( <br /> <i>config</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>, <br /> <i>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>, <br /> <i>controllerName</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>, <br /> <i>actionName</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> <br />);</pre>
|
||||
<pre xml:space="preserve" class="brush: js">public <br /> Extension() <br />static function SetSampleForType( <br /> <i>config</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>, <br /> <i>sample</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>, <br /> <i>mediaType</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <br /> <i>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <br />);</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -283,6 +282,32 @@ The help page will use this information to produce more accurate response sample
|
||||
<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.
|
||||
</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="type" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
@@ -294,33 +319,7 @@ The help page will use this information to produce more accurate response sample
|
||||
</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.
|
||||
The parameter type or return type of an action.
|
||||
</p>
|
||||
|
||||
<p />
|
||||
@@ -412,11 +411,11 @@ The help page will use this information to produce more accurate response sample
|
||||
|
||||
<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 />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user