Update 20240807 - nach NUGET-Update Syncfusion
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>HelpPageSampleGenerator.SampleObjectFactories Property</title>
|
||||
<title>HelpPageConfigurationExtensions.SetActualRequestType (HttpConfiguration, Type, 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">HelpPageSampleGenerator.SampleObjectFactories Property</h1>
|
||||
<h1 class="title">HelpPageConfigurationExtensions.SetActualRequestType (HttpConfiguration, Type, String, String, String()) Method</h1>
|
||||
|
||||
<div class="metadata">
|
||||
Namespace:
|
||||
<a href="topic_00000000000002F9.html">EDOKAAPI_NetFramework.Areas.HelpPage</a>
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
|
||||
|
||||
|
||||
|
||||
@@ -89,8 +89,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
|
||||
<summary-info>Gets factories for the objects that the supported formatters will serialize as samples. Processed in order,
|
||||
stopping when the factory successfully returns a non-<a target="_top" href="topic_00000000000004A8.html" onclick="this.target='';return true;"><default></a> object.</summary-info>
|
||||
<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> 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>
|
||||
|
||||
|
||||
|
||||
@@ -140,8 +140,7 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb"><SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures",
|
||||
Justification = "This is an appropriate nesting of generic types")> _ <br />Public Property SampleObjectFactories() As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a>(Of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a>(Of <a target="_top" href="topic_0000000000000350.html" onclick="this.target='';return true;">HelpPageSampleGenerator</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>)) <br /> Get <br /> </pre>
|
||||
<pre xml:space="preserve" class="brush: vb"><Extension()> _ <br />Public Shared Sub SetActualRequestType( _ <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 /> ByVal ParamArray <i>parameterNames</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>() _ <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -180,8 +179,7 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCsharp">
|
||||
<pre xml:space="preserve" class="brush: csharp">[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures",
|
||||
Justification = "This is an appropriate nesting of generic types")] <br />public <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a><<a target="_top" href="topic_0000000000000350.html" onclick="this.target='';return true;">HelpPageSampleGenerator</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>>> SampleObjectFactories {get;}</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> SetActualRequestType( <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 /> params <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>[] <i>parameterNames</i> <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -221,8 +219,7 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCpp">
|
||||
<pre xml:space="preserve" class="brush: cpp">[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures",
|
||||
Justification = "This is an appropriate nesting of generic types")] <br />public: <br />property <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a><<a target="_top" href="topic_0000000000000350.html" onclick="this.target='';return true;">HelpPageSampleGenerator</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>^>^>^ SampleObjectFactories { <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a><<a target="_top" href="topic_0000000000000350.html" onclick="this.target='';return true;">HelpPageSampleGenerator</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>^>^>^ get( ); <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> SetActualRequestType( <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 /> ...array< array< <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ >^ >^ <i>parameterNames</i> <br />) </pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -261,7 +258,7 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
</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 <br /> Extension() <br />static function SetActualRequestType( <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 /> ... <i>parameterNames</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>[] <br />);</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -272,11 +269,75 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
</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="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>
|
||||
<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 />
|
||||
|
||||
<h4 class="subHeading">
|
||||
Property Value</h4>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a><<a target="_top" href="topic_0000000000000350.html" onclick="this.target='';return true;">HelpPageSampleGenerator</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>>>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -298,34 +359,6 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
|
||||
|
||||
|
||||
<div class="section_container">
|
||||
<div class="section_heading">
|
||||
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Remarks</a></span>
|
||||
<div> </div>
|
||||
</div>
|
||||
|
||||
<div id="remarksSection" class="section">
|
||||
Collection includes just <a target="_top" href=".html" onclick="this.target='';return true;">GenerateObject</a> initially. Use
|
||||
<div class="codeSnippetCodeCollection">
|
||||
<div class="codeSnippetToolbar">
|
||||
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode">
|
||||
<pre xml:space="preserve">SampleObjectFactories.Insert(0, func) </pre>
|
||||
</div>
|
||||
</div> to provide an override and
|
||||
<div class="codeSnippetCodeCollection">
|
||||
<div class="codeSnippetToolbar">
|
||||
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode">
|
||||
<pre xml:space="preserve">SampleObjectFactories.Add(func) </pre>
|
||||
</div>
|
||||
</div> to provide a fallback.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -392,11 +425,11 @@ stopping when the factory successfully returns a non-<a target="_top" href="topi
|
||||
|
||||
<div id="seeAlsoSection" class="section">
|
||||
<div>
|
||||
<a href="topic_0000000000000350.html">HelpPageSampleGenerator Class</a><br />
|
||||
<a href="topic_000000000000034B.html">HelpPageConfigurationExtensions Class</a><br />
|
||||
|
||||
|
||||
|
||||
<a href="topic_00000000000002F9.html">EDOKAAPI_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user