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.WriteSampleObjectUsingFormatter Method</title>
<title>HelpPageSampleGenerator.GetSampleObject 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.WriteSampleObjectUsingFormatter Method</h1>
<h1 class="title">HelpPageSampleGenerator.GetSampleObject 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,7 +89,10 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>Writes the sample object using formatter.</summary-info>
<summary-info>Gets the sample object that will be serialized by the formatters.
First, it will look at the <a target="_top" href="topic_0000000000000354.html" onclick="this.target='';return true;">SampleObjects</a>. If no sample object is found, it will try to create
one using <a target="_top" href=".html" onclick="this.target='';return true;">DefaultSampleObjectFactory</a> (which wraps an <a target="_top" href="topic_0000000000000377.html" onclick="this.target='';return true;">ObjectGenerator</a>) and other
factories in <a target="_top" href="topic_0000000000000355.html" onclick="this.target='';return true;">SampleObjectFactories</a>.</summary-info>
@@ -139,7 +142,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">&lt;SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;, Justification = &quot;The exception is recorded as InvalidSample.&quot;)&gt; _&nbsp;<br />Public Overridable Function WriteSampleObjectUsingFormatter( _&nbsp;<br /> ByVal <i>formatter</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>, _&nbsp;<br /> ByVal <i>value</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</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>mediaType</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> _&nbsp;<br />) As <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;CA1031:DoNotCatchGeneralExceptionTypes&quot;,
Justification = &quot;Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.&quot;)&gt; _&nbsp;<br />Public Overridable Function GetSampleObject( _&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 />) As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a></pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -178,7 +182,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;, Justification = &quot;The exception is recorded as InvalidSample.&quot;)]&nbsp;<br />public virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> WriteSampleObjectUsingFormatter(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a> <i>formatter</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> <i>value</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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <i>mediaType</i>&nbsp;<br />)</pre>
<pre xml:space="preserve" class="brush: csharp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;,
Justification = &quot;Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.&quot;)]&nbsp;<br />public virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> GetSampleObject(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</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>
@@ -218,7 +223,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;, Justification = &quot;The exception is recorded as InvalidSample.&quot;)]&nbsp;<br />public: &nbsp;<br />virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ WriteSampleObjectUsingFormatter(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>^ <i>formatter</i>,&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ <i>value</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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^ <i>mediaType</i>&nbsp;<br />) </pre>
<pre xml:space="preserve" class="brush: cpp">[SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;,
Justification = &quot;Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.&quot;)]&nbsp;<br />public: &nbsp;<br />virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ GetSampleObject(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</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>
@@ -257,7 +263,8 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public &nbsp;<br /> SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;, Justification = &quot;The exception is recorded as InvalidSample.&quot;)&nbsp;<br />function WriteSampleObjectUsingFormatter(&nbsp;<br /> <i>formatter</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>,&nbsp;<br /> <i>value</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</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>mediaType</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>&nbsp;<br />) : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>;</pre>
<pre xml:space="preserve" class="brush: js">public &nbsp;<br /> SuppressMessage(&quot;Microsoft.Design&quot;, &quot;CA1031:DoNotCatchGeneralExceptionTypes&quot;,
Justification = &quot;Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.&quot;)&nbsp;<br />function GetSampleObject(&nbsp;<br /> <i>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>&nbsp;<br />) : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>;</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -269,33 +276,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<h4 class="subHeading">
Parameters</h4><dl paramName="formatter" class="parameterList">
<dt>
<span class="parameter">
formatter
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>
</dd>
</dl>
<p>
The formatter.
</p>
<dl paramName="value" class="parameterList">
<dt>
<span class="parameter">
value
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
</dd>
</dl>
<p>
The value.
</p>
<dl paramName="type" class="parameterList">
Parameters</h4><dl paramName="type" class="parameterList">
<dt>
<span class="parameter">
type
@@ -308,25 +289,15 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<p>
The type.
</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>
Type of the media.
</p>
<p />
<h4 class="subHeading">
Return Value</h4>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
<p>
The sample object.
</p>
@@ -415,11 +386,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 />