update 20240812
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.SetSampleObjects Method</title>
|
||||
<title>FilterConfig.RegisterGlobalFilters 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.SetSampleObjects Method</h1>
|
||||
<h1 class="title">FilterConfig.RegisterGlobalFilters Method</h1>
|
||||
|
||||
<div class="metadata">
|
||||
Namespace:
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
|
||||
<a href="topic_0000000000000349.html">API_NetFramework</a>
|
||||
|
||||
|
||||
|
||||
@@ -89,7 +89,6 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
|
||||
<summary-info>Sets the objects that will be used by the formatters to produce sample requests/responses.</summary-info>
|
||||
|
||||
|
||||
|
||||
@@ -139,7 +138,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb"><Extension()> _ <br />Public Shared Sub SetSampleObjects( _ <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>sampleObjects</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>(Of <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>) _ <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: vb">Public Shared Sub RegisterGlobalFilters( _ <br /> ByVal <i>filters</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.globalfiltercollection">GlobalFilterCollection</a> _ <br />)</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> SetSampleObjects( <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.collections.generic.idictionary-2">IDictionary</a><<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>> <i>sampleObjects</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> RegisterGlobalFilters( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.globalfiltercollection">GlobalFilterCollection</a> <i>filters</i> <br />)</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()] <br />public: <br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> SetSampleObjects( <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.collections.generic.idictionary-2">IDictionary</a><<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>^>^ <i>sampleObjects</i> <br />) </pre>
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <br />static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.void">void</a> RegisterGlobalFilters( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.globalfiltercollection">GlobalFilterCollection</a>^ <i>filters</i> <br />) </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">JScript does not support generic types and methods.</pre>
|
||||
<pre xml:space="preserve" class="brush: js">public static function RegisterGlobalFilters( <br /> <i>filters</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.globalfiltercollection">GlobalFilterCollection</a> <br />);</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -269,31 +268,18 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
<h4 class="subHeading">
|
||||
Parameters</h4><dl paramName="config" class="parameterList">
|
||||
Parameters</h4><dl paramName="filters" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
config
|
||||
filters
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.httpconfiguration">HttpConfiguration</a>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.globalfiltercollection">GlobalFilterCollection</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The <a target="_top" href=".html" onclick="this.target='';return true;">HttpConfiguration</a>.
|
||||
</p>
|
||||
<dl paramName="sampleObjects" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
sampleObjects
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a><<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 sample objects.
|
||||
|
||||
</p>
|
||||
|
||||
<p />
|
||||
@@ -385,11 +371,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
<div id="seeAlsoSection" class="section">
|
||||
<div>
|
||||
<a href="topic_000000000000034B.html">HelpPageConfigurationExtensions Class</a><br />
|
||||
<a href="topic_000000000000034C.html">FilterConfig Class</a><br />
|
||||
|
||||
|
||||
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
<a href="topic_0000000000000349.html">API_NetFramework Namespace</a><br />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user