update 20240812

This commit is contained in:
Stefan Hutter
2024-08-12 16:35:06 +02:00
parent 43c44e0aad
commit fc8811829d
7922 changed files with 205978 additions and 91947 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 Class</title>
<title>ModelNameAttribute Constructor</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 Class</h1>
<h1 class="title">ModelNameAttribute Constructor</h1>
<div class="metadata">
Namespace:
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
<a href="topic_0000000000000375.html">API_NetFramework.Areas.HelpPage.ModelDescriptions</a>
@@ -89,7 +89,6 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>This class will generate the samples for the help page.</summary-info>
@@ -139,7 +138,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">Public Class HelpPageSampleGenerator</pre>
<pre xml:space="preserve" class="brush: vb">Public Sub New( _&nbsp;<br /> ByVal <i>name</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> _&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 +177,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">public class HelpPageSampleGenerator</pre>
<pre xml:space="preserve" class="brush: csharp">public ModelNameAttribute(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>name</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 +217,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">public ref class HelpPageSampleGenerator </pre>
<pre xml:space="preserve" class="brush: cpp">public: &nbsp;<br />ModelNameAttribute(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>name</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 +256,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public class HelpPageSampleGenerator</pre>
<pre xml:space="preserve" class="brush: js">public function ModelNameAttribute(&nbsp;<br /> <i>name</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>&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,6 +267,23 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</div>
<h4 class="subHeading">
Parameters</h4><dl paramName="name" class="parameterList">
<dt>
<span class="parameter">
name
</span>
</dt>
<dd>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>
</dd>
</dl>
<p>
</p>
<p />
@@ -287,530 +303,6 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Constructors</a></span>
<div>&nbsp;</div>
</div>
<div id="ConstructorsSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
">
<td>
<img alt="Public constructor" title="Public constructor" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_0000000000000393.html">HelpPageSampleGenerator()</a>
</td>
<td>
Initializes a new instance of the <a target="_top" href="topic_0000000000000392.html" onclick="this.target='';return true;">HelpPageSampleGenerator</a> class.
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Properties</a></span>
<div>&nbsp;</div>
</div>
<div id="PropertiesSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
">
<td>
<img alt="Public property" title="Public property" src="msdn2019/pubproperty.png"></img>
</td>
<td>
<a href="topic_0000000000000395.html">ActionSamples</a>
</td>
<td>
Gets the objects that are used directly as samples for certain actions.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public property" title="Public property" src="msdn2019/pubproperty.png"></img>
</td>
<td>
<a href="topic_0000000000000394.html">ActualHttpMessageTypes</a>
</td>
<td>
Gets CLR types that are used as the content of <a target="_top" href=".html" onclick="this.target='';return true;">HttpRequestMessage</a> or <a target="_top" href=".html" onclick="this.target='';return true;">HttpResponseMessage</a>.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public property" title="Public property" src="msdn2019/pubproperty.png"></img>
</td>
<td>
<a href="topic_0000000000000397.html">SampleObjectFactories</a>
</td>
<td>
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_00000000000004F6.html" onclick="this.target='';return true;">&lt;default&gt;</a> object.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public property" title="Public property" src="msdn2019/pubproperty.png"></img>
</td>
<td>
<a href="topic_0000000000000396.html">SampleObjects</a>
</td>
<td>
Gets the objects that are serialized as samples by the supported formatters.
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Methods</a></span>
<div>&nbsp;</div>
</div>
<div id="MethodsSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039B.html">GetActionSample(string, string, IEnumerable&lt;String&gt;, Type, MediaTypeFormatter, MediaTypeHeaderValue, SampleDirection)</a>
</td>
<td>
Search for samples that are provided directly through <a target="_top" href="topic_0000000000000395.html" onclick="this.target='';return true;">ActionSamples</a>.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039A.html">GetSample(ApiDescription, SampleDirection)</a>
</td>
<td>
Gets the request or response body samples.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039C.html">GetSampleObject(Type)</a>
</td>
<td>
Gets the sample object that will be serialized by the formatters.
First, it will look at the <a target="_top" href="topic_0000000000000396.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_00000000000003B9.html" onclick="this.target='';return true;">ObjectGenerator</a>) and other
factories in <a target="_top" href="topic_0000000000000397.html" onclick="this.target='';return true;">SampleObjectFactories</a>.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_0000000000000398.html">GetSampleRequests(ApiDescription)</a>
</td>
<td>
Gets the request body samples for a given <a target="_top" href=".html" onclick="this.target='';return true;">ApiDescription</a>.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_0000000000000399.html">GetSampleResponses(ApiDescription)</a>
</td>
<td>
Gets the response body samples for a given <a target="_top" href=".html" onclick="this.target='';return true;">ApiDescription</a>.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039D.html">ResolveHttpRequestMessageType(ApiDescription)</a>
</td>
<td>
Resolves the actual type of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.objectcontent-1">ObjectContent&lt;T&gt;</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.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039E.html">ResolveType(ApiDescription, string, string, IEnumerable&lt;String&gt;, SampleDirection, out Collection&lt;MediaTypeFormatter&gt;)</a>
</td>
<td>
Resolves the type of the action parameter or return value when <a target="_top" href=".html" onclick="this.target='';return true;">HttpRequestMessage</a> or <a target="_top" href=".html" onclick="this.target='';return true;">HttpResponseMessage</a> is used.
</td>
</tr>
<tr class="
">
<td>
<img alt="Public method" title="Public method" src="msdn2019/pubmethod.png"></img>
</td>
<td>
<a href="topic_000000000000039F.html">WriteSampleObjectUsingFormatter(MediaTypeFormatter, object, Type, MediaTypeHeaderValue)</a>
</td>
<td>
Writes the sample object using formatter.
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Extension Methods</a></span>
<div>&nbsp;</div>
</div>
<div id="ExtensionMethodsSection" class="section">
<table class="memberListTable">
<tr>
<th></th>
<th>
Name
</th>
<th>
Description
</th>
</tr>
<tr class="
inheritedMember
">
<td>
<img alt="Public extension method" title="Public extension method" src="msdn2019/pubextensionmethod.png"></img>
</td>
<td>
<a href="topic_0000000000000324.html">NameOf(this object)</a>
</td>
<td>
(Defined by <a target="_top" href="topic_0000000000000322.html" onclick="this.target='';return true;">NLogHelper</a>).
</td>
</tr>
</table>
<a href="#mainBody">
Top
</a>
</div>
</div>
<!-- Classes -->
<!-- Classes End -->
<!-- Standard Modules -->
<!-- Standard Modules End -->
@@ -871,7 +363,6 @@ inheritedMember
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">See Also</a></span>
@@ -880,10 +371,14 @@ inheritedMember
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
<a href="topic_0000000000000391.html">ModelNameAttribute Class</a><br />
<a href="topic_0000000000000375.html">API_NetFramework.Areas.HelpPage.ModelDescriptions Namespace</a><br />
</div>
</div>