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>HelpPageSampleGenerator.GetSampleObject Method</title>
|
||||
<title>HelpPageSampleGenerator.GetSampleResponses 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.GetSampleObject Method</h1>
|
||||
<h1 class="title">HelpPageSampleGenerator.GetSampleResponses 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,10 +89,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
|
||||
<summary-info>Gets the sample object that will be serialized by the formatters.
|
||||
First, it will look at the <a target="_top" href="topic_0000000000000351.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_0000000000000374.html" onclick="this.target='';return true;">ObjectGenerator</a>) and other
|
||||
factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.target='';return true;">SampleObjectFactories</a>.</summary-info>
|
||||
<summary-info>Gets the response body samples for a given <a target="_top" href=".html" onclick="this.target='';return true;">ApiDescription</a>.</summary-info>
|
||||
|
||||
|
||||
|
||||
@@ -142,8 +139,7 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb"><SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
|
||||
Justification = "Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.")> _ <br />Public Overridable Function GetSampleObject( _ <br /> ByVal <i>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> _ <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">Public Function GetSampleResponses( _ <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> _ <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>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -182,8 +178,7 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCsharp">
|
||||
<pre xml:space="preserve" class="brush: csharp">[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
|
||||
Justification = "Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.")] <br />public virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> GetSampleObject( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i> <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: csharp">public <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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>> GetSampleResponses( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a> <i>api</i> <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -223,8 +218,7 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCpp">
|
||||
<pre xml:space="preserve" class="brush: cpp">[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
|
||||
Justification = "Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.")] <br />public: <br />virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ GetSampleObject( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i> <br />) </pre>
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^>^ GetSampleResponses( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.web.http.description.apidescription">ApiDescription</a>^ <i>api</i> <br />) </pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -263,8 +257,7 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeJScript">
|
||||
<pre xml:space="preserve" class="brush: js">public <br /> SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
|
||||
Justification = "Even if all items in SampleObjectFactories throw, problem will be visible as missing sample.") <br />function GetSampleObject( <br /> <i>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <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">JScript does not support generic types and methods.</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -276,27 +269,27 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
|
||||
|
||||
<h4 class="subHeading">
|
||||
Parameters</h4><dl paramName="type" class="parameterList">
|
||||
Parameters</h4><dl paramName="api" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
type
|
||||
api
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<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.web.http.description.apidescription">ApiDescription</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The type.
|
||||
The <a target="_top" href=".html" onclick="this.target='';return true;">ApiDescription</a>.
|
||||
</p>
|
||||
|
||||
<p />
|
||||
|
||||
<h4 class="subHeading">
|
||||
Return Value</h4>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
|
||||
<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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>>
|
||||
<p>
|
||||
The sample object.
|
||||
The samples keyed by media type.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -386,11 +379,11 @@ factories in <a target="_top" href="topic_0000000000000352.html" onclick="this.t
|
||||
|
||||
<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 />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user