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>ObjectGenerator.GenerateObject Method</title>
<title>HelpPageSampleKey(MediaTypeHeaderValue) 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">ObjectGenerator.GenerateObject Method</h1>
<h1 class="title">HelpPageSampleKey(MediaTypeHeaderValue) Constructor</h1>
<div class="metadata">
Namespace:
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage</a>
@@ -89,16 +89,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
<summary-info>Generates an object for a given type. The type needs to be public, have a public default constructor and settable public properties/fields. Currently it supports the following types:
Simple types: <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.int32">int</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>, <a target="_top" href=".html" onclick="this.target='';return true;">Enum</a>, <a target="_top" href=".html" onclick="this.target='';return true;">DateTime</a>, <a target="_top" href=".html" onclick="this.target='';return true;">Uri</a>, etc.
Complex types: POCO types.
Nullables: <a target="_top" href=".html" onclick="this.target='';return true;">Nullable&lt;T&gt;</a>.
Arrays: arrays of simple types or complex types.
Key value pairs: <a target="_top" href=".html" onclick="this.target='';return true;">KeyValuePair&lt;TKey,TValue&gt;</a>
Tuples: <a target="_top" href=".html" onclick="this.target='';return true;">Tuple&lt;T1&gt;</a>, <a target="_top" href=".html" onclick="this.target='';return true;">Tuple&lt;T1,T2&gt;</a>, etc
Dictionaries: <a target="_top" href=".html" onclick="this.target='';return true;">IDictionary&lt;TKey,TValue&gt;</a> or anything deriving from <a target="_top" href=".html" onclick="this.target='';return true;">IDictionary&lt;TKey,TValue&gt;</a>.
Collections: <a target="_top" href=".html" onclick="this.target='';return true;">IList&lt;T&gt;</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IEnumerable&lt;T&gt;</a>, <a target="_top" href=".html" onclick="this.target='';return true;">ICollection&lt;T&gt;</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IList</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IEnumerable</a>, <a target="_top" href=".html" onclick="this.target='';return true;">ICollection</a> or anything deriving from <a target="_top" href=".html" onclick="this.target='';return true;">ICollection&lt;T&gt;</a> or <a target="_top" href=".html" onclick="this.target='';return true;">IList</a>.
Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">IQueryable</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IQueryable&lt;T&gt;</a>.</summary-info>
<summary-info>Creates a new <a target="_top" href="topic_00000000000003B9.html" onclick="this.target='';return true;">HelpPageSampleKey</a> based on media type.</summary-info>
@@ -148,7 +139,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">Public Function GenerateObject( _&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>
<pre xml:space="preserve" class="brush: vb">Public Sub New( _&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 />)</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -187,7 +178,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">public <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> GenerateObject(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i>&nbsp;<br />)</pre>
<pre xml:space="preserve" class="brush: csharp">public HelpPageSampleKey(&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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -227,7 +218,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">public: &nbsp;<br /><a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ GenerateObject(&nbsp;<br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i>&nbsp;<br />) </pre>
<pre xml:space="preserve" class="brush: cpp">public: &nbsp;<br />HelpPageSampleKey(&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>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -266,7 +257,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public function GenerateObject(&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>
<pre xml:space="preserve" class="brush: js">public function HelpPageSampleKey(&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 />);</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
@@ -278,29 +269,22 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
<h4 class="subHeading">
Parameters</h4><dl paramName="type" class="parameterList">
Parameters</h4><dl paramName="mediaType" class="parameterList">
<dt>
<span class="parameter">
type
mediaType
</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.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>
</dd>
</dl>
<p>
The type.
The media type.
</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>
An object of the given type.
</p>
@@ -388,11 +372,11 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_00000000000003B9.html">ObjectGenerator Class</a><br />
<a href="topic_00000000000003B9.html">HelpPageSampleKey Class</a><br />
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage Namespace</a><br />