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>HelpPageSampleGenerator.GetSample Method</title>
<title>HelpPageSampleGenerator.SampleObjectFactories Property</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.GetSample Method</h1>
<h1 class="title">HelpPageSampleGenerator.SampleObjectFactories Property</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,7 +89,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>Gets the request or response body samples.</summary-info>
<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;">&lt;default&gt;</a> object.</summary-info>
@@ -139,7 +140,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">Public Overridable Function GetSample( _&nbsp;<br /> ByVal <i>api</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a>, _&nbsp;<br /> ByVal <i>sampleDirection</i> As <a target="_top" href="topic_0000000000000376.html" onclick="this.target='';return true;">SampleDirection</a> _&nbsp;<br />) 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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a>)</pre>
<pre xml:space="preserve" class="brush: vb">&lt;SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1006:DoNotNestGenericTypesInMemberSignatures&quot;,
Justification = &quot;This is an appropriate nesting of generic types&quot;)&gt; _&nbsp;<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>))&nbsp;<br /> Get&nbsp;<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 +180,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">public virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>&gt; GetSample(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a> <i>api</i>,&nbsp;<br /> <a target="_top" href="topic_0000000000000376.html" onclick="this.target='';return true;">SampleDirection</a> <i>sampleDirection</i>&nbsp;<br />)</pre>
<pre xml:space="preserve" class="brush: csharp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1006:DoNotNestGenericTypesInMemberSignatures&quot;,
Justification = &quot;This is an appropriate nesting of generic types&quot;)]&nbsp;<br />public <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a>&lt;<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>&gt;&gt; SampleObjectFactories {get;}</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -218,7 +221,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">public: &nbsp;<br />virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^&gt;^ GetSample(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a>^ <i>api</i>,&nbsp;<br /> <a target="_top" href="topic_0000000000000376.html" onclick="this.target='';return true;">SampleDirection</a> <i>sampleDirection</i>&nbsp;<br />) </pre>
<pre xml:space="preserve" class="brush: cpp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1006:DoNotNestGenericTypesInMemberSignatures&quot;,
Justification = &quot;This is an appropriate nesting of generic types&quot;)]&nbsp;<br />public: &nbsp;<br />property <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a>&lt;<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>^&gt;^&gt;^ SampleObjectFactories {&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a>&lt;<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>^&gt;^&gt;^ get( );&nbsp;<br />}</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -268,42 +272,10 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<h4 class="subHeading">
Parameters</h4><dl paramName="api" class="parameterList">
<dt>
<span class="parameter">
api
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a>
</dd>
</dl>
<p>
The <a target="_top" href=".html" onclick="this.target='';return true;">ApiDescription</a>.
</p>
<dl paramName="sampleDirection" class="parameterList">
<dt>
<span class="parameter">
sampleDirection
</span>
</dt>
<dd>
<a target="_top" href="topic_0000000000000376.html" onclick="this.target='';return true;">SampleDirection</a>
</dd>
</dl>
<p>
The value indicating whether the sample is for a request or for a response.
</p>
<p />
<h4 class="subHeading">
Return Value</h4>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>&gt;
<p>
The samples keyed by media type.
</p>
Property Value</h4>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.func-3">Func</a>&lt;<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>&gt;&gt;
@@ -326,6 +298,34 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Remarks</a></span>
<div>&nbsp;</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 +392,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_000000000000034D.html">HelpPageSampleGenerator Class</a><br />
<a href="topic_0000000000000350.html">HelpPageSampleGenerator 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 />