Skip to content

Commit 49e8646

Browse files
committed
upd docs
1 parent 697c9af commit 49e8646

File tree

9 files changed

+586
-12
lines changed

9 files changed

+586
-12
lines changed
Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,291 @@
1+
<!DOCTYPE html>
2+
<!--[if IE]><![endif]-->
3+
<html>
4+
5+
<head>
6+
<meta charset="utf-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8+
<title>Struct LiteNetManager.NetPeerEnumerator&lt;T&gt; </title>
9+
<meta name="viewport" content="width=device-width">
10+
<meta name="title" content="Struct LiteNetManager.NetPeerEnumerator&lt;T&gt; ">
11+
12+
13+
<link rel="shortcut icon" href="../favicon.ico">
14+
<link rel="stylesheet" href="../styles/docfx.vendor.min.css">
15+
<link rel="stylesheet" href="../styles/docfx.css">
16+
<link rel="stylesheet" href="../styles/main.css">
17+
<meta property="docfx:navrel" content="../toc.html">
18+
<meta property="docfx:tocrel" content="toc.html">
19+
20+
21+
22+
</head>
23+
<body data-spy="scroll" data-target="#affix" data-offset="120">
24+
<div id="wrapper">
25+
<header>
26+
27+
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
28+
<div class="container">
29+
<div class="navbar-header">
30+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
31+
<span class="sr-only">Toggle navigation</span>
32+
<span class="icon-bar"></span>
33+
<span class="icon-bar"></span>
34+
<span class="icon-bar"></span>
35+
</button>
36+
37+
<a class="navbar-brand" href="../index.html">
38+
<img id="logo" class="svg" src="../logo.svg" alt="">
39+
</a>
40+
</div>
41+
<div class="collapse navbar-collapse" id="navbar">
42+
<form class="navbar-form navbar-right" role="search" id="search">
43+
<div class="form-group">
44+
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
45+
</div>
46+
</form>
47+
</div>
48+
</div>
49+
</nav>
50+
51+
<div class="subnav navbar navbar-default">
52+
<div class="container hide-when-search" id="breadcrumb">
53+
<ul class="breadcrumb">
54+
<li></li>
55+
</ul>
56+
</div>
57+
</div>
58+
</header>
59+
<div role="main" class="container body-content hide-when-search">
60+
61+
<div class="sidenav hide-when-search">
62+
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
63+
<div class="sidetoggle collapse" id="sidetoggle">
64+
<div id="sidetoc"></div>
65+
</div>
66+
</div>
67+
<div class="article row grid-right">
68+
<div class="col-md-10">
69+
<article class="content wrap" id="_content" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1">
70+
71+
72+
73+
<h1 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1" class="text-break">Struct LiteNetManager.NetPeerEnumerator&lt;T&gt;</h1>
74+
<div class="markdown level0 summary"></div>
75+
<div class="markdown level0 conceptual"></div>
76+
<div class="implements">
77+
<h5>Implements</h5>
78+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1">IEnumerator</a>&lt;T&gt;</div>
79+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a></div>
80+
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
81+
</div>
82+
<h6><strong>Namespace</strong>: <a class="xref" href="LiteNetLib.html">LiteNetLib</a></h6>
83+
<h6><strong>Assembly</strong>: LiteNetLib.dll</h6>
84+
<h5 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_syntax">Syntax</h5>
85+
<div class="codewrapper">
86+
<pre><code class="lang-csharp hljs">public struct LiteNetManager.NetPeerEnumerator&lt;T&gt; : IEnumerator&lt;T&gt;, IEnumerator, IDisposable where T : LiteNetPeer</code></pre>
87+
</div>
88+
<h5 class="typeParameters">Type Parameters</h5>
89+
<table class="table table-bordered table-condensed">
90+
<thead>
91+
<tr>
92+
<th>Name</th>
93+
<th>Description</th>
94+
</tr>
95+
</thead>
96+
<tbody>
97+
<tr>
98+
<td><span class="parametername">T</span></td>
99+
<td></td>
100+
</tr>
101+
</tbody>
102+
</table>
103+
<h3 id="constructors">Constructors
104+
</h3>
105+
106+
107+
<a id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1__ctor_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.#ctor*"></a>
108+
<h4 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1__ctor__0_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.#ctor(`0)">NetPeerEnumerator(T)</h4>
109+
<div class="markdown level1 summary"></div>
110+
<div class="markdown level1 conceptual"></div>
111+
<h5 class="declaration">Declaration</h5>
112+
<div class="codewrapper">
113+
<pre><code class="lang-csharp hljs">public NetPeerEnumerator(T p)</code></pre>
114+
</div>
115+
<h5 class="parameters">Parameters</h5>
116+
<table class="table table-bordered table-condensed">
117+
<thead>
118+
<tr>
119+
<th>Type</th>
120+
<th>Name</th>
121+
<th>Description</th>
122+
</tr>
123+
</thead>
124+
<tbody>
125+
<tr>
126+
<td><span class="xref">T</span></td>
127+
<td><span class="parametername">p</span></td>
128+
<td></td>
129+
</tr>
130+
</tbody>
131+
</table>
132+
<h3 id="properties">Properties
133+
</h3>
134+
135+
136+
<a id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Current_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Current*"></a>
137+
<h4 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Current" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Current">Current</h4>
138+
<div class="markdown level1 summary"><p>Gets the element in the collection at the current position of the enumerator.</p>
139+
</div>
140+
<div class="markdown level1 conceptual"></div>
141+
<h5 class="declaration">Declaration</h5>
142+
<div class="codewrapper">
143+
<pre><code class="lang-csharp hljs">public T Current { get; }</code></pre>
144+
</div>
145+
<h5 class="propertyValue">Property Value</h5>
146+
<table class="table table-bordered table-condensed">
147+
<thead>
148+
<tr>
149+
<th>Type</th>
150+
<th>Description</th>
151+
</tr>
152+
</thead>
153+
<tbody>
154+
<tr>
155+
<td><span class="xref">T</span></td>
156+
<td><p>The element in the collection at the current position of the enumerator.</p>
157+
</td>
158+
</tr>
159+
</tbody>
160+
</table>
161+
<h3 id="methods">Methods
162+
</h3>
163+
164+
165+
<a id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Dispose_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Dispose*"></a>
166+
<h4 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Dispose" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Dispose">Dispose()</h4>
167+
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
168+
</div>
169+
<div class="markdown level1 conceptual"></div>
170+
<h5 class="declaration">Declaration</h5>
171+
<div class="codewrapper">
172+
<pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
173+
</div>
174+
175+
176+
<a id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_MoveNext_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.MoveNext*"></a>
177+
<h4 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_MoveNext" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.MoveNext">MoveNext()</h4>
178+
<div class="markdown level1 summary"><p>Advances the enumerator to the next element of the collection.</p>
179+
</div>
180+
<div class="markdown level1 conceptual"></div>
181+
<h5 class="declaration">Declaration</h5>
182+
<div class="codewrapper">
183+
<pre><code class="lang-csharp hljs">public bool MoveNext()</code></pre>
184+
</div>
185+
<h5 class="returns">Returns</h5>
186+
<table class="table table-bordered table-condensed">
187+
<thead>
188+
<tr>
189+
<th>Type</th>
190+
<th>Description</th>
191+
</tr>
192+
</thead>
193+
<tbody>
194+
<tr>
195+
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
196+
<td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the enumerator was successfully advanced to the next element; <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a> if the enumerator has passed the end of the collection.</p>
197+
</td>
198+
</tr>
199+
</tbody>
200+
</table>
201+
<h5 class="exceptions">Exceptions</h5>
202+
<table class="table table-bordered table-condensed">
203+
<thead>
204+
<tr>
205+
<th>Type</th>
206+
<th>Condition</th>
207+
</tr>
208+
</thead>
209+
<tbody>
210+
<tr>
211+
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
212+
<td><p>The collection was modified after the enumerator was created.</p>
213+
</td>
214+
</tr>
215+
</tbody>
216+
</table>
217+
218+
219+
<a id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Reset_" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Reset*"></a>
220+
<h4 id="LiteNetLib_LiteNetManager_NetPeerEnumerator_1_Reset" data-uid="LiteNetLib.LiteNetManager.NetPeerEnumerator`1.Reset">Reset()</h4>
221+
<div class="markdown level1 summary"><p>Sets the enumerator to its initial position, which is before the first element in the collection.</p>
222+
</div>
223+
<div class="markdown level1 conceptual"></div>
224+
<h5 class="declaration">Declaration</h5>
225+
<div class="codewrapper">
226+
<pre><code class="lang-csharp hljs">public void Reset()</code></pre>
227+
</div>
228+
<h5 class="exceptions">Exceptions</h5>
229+
<table class="table table-bordered table-condensed">
230+
<thead>
231+
<tr>
232+
<th>Type</th>
233+
<th>Condition</th>
234+
</tr>
235+
</thead>
236+
<tbody>
237+
<tr>
238+
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
239+
<td><p>The collection was modified after the enumerator was created.</p>
240+
</td>
241+
</tr>
242+
</tbody>
243+
</table>
244+
<h3 id="implements">Implements</h3>
245+
<div>
246+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1">IEnumerator&lt;T&gt;</a>
247+
</div>
248+
<div>
249+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a>
250+
</div>
251+
<div>
252+
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>
253+
</div>
254+
255+
</article>
256+
</div>
257+
258+
<div class="hidden-sm col-md-2" role="complementary">
259+
<div class="sideaffix">
260+
<div class="contribution">
261+
<ul class="nav">
262+
</ul>
263+
</div>
264+
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
265+
<h5>In this article</h5>
266+
<div></div>
267+
</nav>
268+
</div>
269+
</div>
270+
</div>
271+
</div>
272+
273+
<footer>
274+
<div class="grad-bottom"></div>
275+
<div class="footer">
276+
<div class="container">
277+
<span class="pull-right">
278+
<a href="#top">Back to top</a>
279+
</span>
280+
281+
<span>Generated by <strong>DocFX</strong></span>
282+
</div>
283+
</div>
284+
</footer>
285+
</div>
286+
287+
<script type="text/javascript" src="../styles/docfx.vendor.min.js"></script>
288+
<script type="text/javascript" src="../styles/docfx.js"></script>
289+
<script type="text/javascript" src="../styles/main.js"></script>
290+
</body>
291+
</html>

docs/api/LiteNetLib.LiteNetManager.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ <h4 id="LiteNetLib_LiteNetManager_GetEnumerator" data-uid="LiteNetLib.LiteNetMan
20382038
<div class="markdown level1 conceptual"></div>
20392039
<h5 class="declaration">Declaration</h5>
20402040
<div class="codewrapper">
2041-
<pre><code class="lang-csharp hljs">public LiteNetManager.NetPeerEnumerator GetEnumerator()</code></pre>
2041+
<pre><code class="lang-csharp hljs">public LiteNetManager.NetPeerEnumerator&lt;LiteNetPeer&gt; GetEnumerator()</code></pre>
20422042
</div>
20432043
<h5 class="returns">Returns</h5>
20442044
<table class="table table-bordered table-condensed">
@@ -2050,7 +2050,7 @@ <h5 class="returns">Returns</h5>
20502050
</thead>
20512051
<tbody>
20522052
<tr>
2053-
<td><a class="xref" href="LiteNetLib.LiteNetManager.html">LiteNetManager</a>.<a class="xref" href="LiteNetLib.LiteNetManager.NetPeerEnumerator.html">NetPeerEnumerator</a></td>
2053+
<td><a class="xref" href="LiteNetLib.LiteNetManager.html">LiteNetManager</a>.<a class="xref" href="LiteNetLib.LiteNetManager.NetPeerEnumerator-1.html">NetPeerEnumerator</a>&lt;<a class="xref" href="LiteNetLib.LiteNetPeer.html">LiteNetPeer</a>&gt;</td>
20542054
<td></td>
20552055
</tr>
20562056
</tbody>

0 commit comments

Comments
 (0)