You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

399 lines
19 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class IReadOnlyList&lt;T&gt;
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class IReadOnlyList&lt;T&gt;
  11. ">
  12. <meta name="generator" content="docfx 2.43.3.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  18. <meta property="docfx:navrel" content="../toc.html">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. <meta property="docfx:rel" content="../">
  21. <meta property="docfx:newtab" content="true">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../index.html">
  35. <img id="logo" class="svg" src="../logo.svg" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list"></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Net3_Proxy.IReadOnlyList`1">
  74. <h1 id="Net3_Proxy_IReadOnlyList_1" data-uid="Net3_Proxy.IReadOnlyList`1" class="text-break">Class IReadOnlyList&lt;T&gt;
  75. </h1>
  76. <div class="markdown level0 summary"></div>
  77. <div class="markdown level0 conceptual"></div>
  78. <div class="inheritance">
  79. <h5>Inheritance</h5>
  80. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  81. <div class="level1"><span class="xref">IReadOnlyList&lt;T&gt;</span></div>
  82. </div>
  83. <div classs="implements">
  84. <h5>Implements</h5>
  85. <div><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</div>
  86. <div><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  87. </div>
  88. <div class="inheritedMembers">
  89. <h5>Inherited Members</h5>
  90. <div>
  91. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_System_Object_">Object.Equals(Object, Object)</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#System_Object_ReferenceEquals_System_Object_System_Object_">Object.ReferenceEquals(Object, Object)</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">Object.MemberwiseClone()</a>
  110. </div>
  111. </div>
  112. <h6><strong>Namespace</strong>: <a class="xref" href="Net3_Proxy.html">Net3_Proxy</a></h6>
  113. <h6><strong>Assembly</strong>: Net3-Proxy.dll</h6>
  114. <h5 id="Net3_Proxy_IReadOnlyList_1_syntax">Syntax</h5>
  115. <div class="codewrapper">
  116. <pre><code class="lang-csharp hljs">public class IReadOnlyList&lt;T&gt; : IEnumerable&lt;T&gt;, IEnumerable</code></pre>
  117. </div>
  118. <h5 class="typeParameters">Type Parameters</h5>
  119. <table class="table table-bordered table-striped table-condensed">
  120. <thead>
  121. <tr>
  122. <th>Name</th>
  123. <th>Description</th>
  124. </tr>
  125. </thead>
  126. <tbody>
  127. <tr>
  128. <td><span class="parametername">T</span></td>
  129. <td></td>
  130. </tr>
  131. </tbody>
  132. </table>
  133. <h3 id="properties">Properties
  134. </h3>
  135. <span class="small pull-right mobile-hide">
  136. <span class="divider">|</span>
  137. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1_Count.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601.Count%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  138. </span>
  139. <span class="small pull-right mobile-hide">
  140. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L23">View Source</a>
  141. </span>
  142. <a id="Net3_Proxy_IReadOnlyList_1_Count_" data-uid="Net3_Proxy.IReadOnlyList`1.Count*"></a>
  143. <h4 id="Net3_Proxy_IReadOnlyList_1_Count" data-uid="Net3_Proxy.IReadOnlyList`1.Count">Count</h4>
  144. <div class="markdown level1 summary"></div>
  145. <div class="markdown level1 conceptual"></div>
  146. <h5 class="decalaration">Declaration</h5>
  147. <div class="codewrapper">
  148. <pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
  149. </div>
  150. <h5 class="propertyValue">Property Value</h5>
  151. <table class="table table-bordered table-striped table-condensed">
  152. <thead>
  153. <tr>
  154. <th>Type</th>
  155. <th>Description</th>
  156. </tr>
  157. </thead>
  158. <tbody>
  159. <tr>
  160. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  161. <td></td>
  162. </tr>
  163. </tbody>
  164. </table>
  165. <span class="small pull-right mobile-hide">
  166. <span class="divider">|</span>
  167. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1_Item_System_Int32_.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601.Item(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  168. </span>
  169. <span class="small pull-right mobile-hide">
  170. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L25">View Source</a>
  171. </span>
  172. <a id="Net3_Proxy_IReadOnlyList_1_Item_" data-uid="Net3_Proxy.IReadOnlyList`1.Item*"></a>
  173. <h4 id="Net3_Proxy_IReadOnlyList_1_Item_System_Int32_" data-uid="Net3_Proxy.IReadOnlyList`1.Item(System.Int32)">Item[Int32]</h4>
  174. <div class="markdown level1 summary"></div>
  175. <div class="markdown level1 conceptual"></div>
  176. <h5 class="decalaration">Declaration</h5>
  177. <div class="codewrapper">
  178. <pre><code class="lang-csharp hljs">public T this[int index] { get; }</code></pre>
  179. </div>
  180. <h5 class="parameters">Parameters</h5>
  181. <table class="table table-bordered table-striped table-condensed">
  182. <thead>
  183. <tr>
  184. <th>Type</th>
  185. <th>Name</th>
  186. <th>Description</th>
  187. </tr>
  188. </thead>
  189. <tbody>
  190. <tr>
  191. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  192. <td><span class="parametername">index</span></td>
  193. <td></td>
  194. </tr>
  195. </tbody>
  196. </table>
  197. <h5 class="propertyValue">Property Value</h5>
  198. <table class="table table-bordered table-striped table-condensed">
  199. <thead>
  200. <tr>
  201. <th>Type</th>
  202. <th>Description</th>
  203. </tr>
  204. </thead>
  205. <tbody>
  206. <tr>
  207. <td><span class="xref">T</span></td>
  208. <td></td>
  209. </tr>
  210. </tbody>
  211. </table>
  212. <h3 id="methods">Methods
  213. </h3>
  214. <span class="small pull-right mobile-hide">
  215. <span class="divider">|</span>
  216. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1_GetEnumerator.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601.GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  217. </span>
  218. <span class="small pull-right mobile-hide">
  219. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L19">View Source</a>
  220. </span>
  221. <a id="Net3_Proxy_IReadOnlyList_1_GetEnumerator_" data-uid="Net3_Proxy.IReadOnlyList`1.GetEnumerator*"></a>
  222. <h4 id="Net3_Proxy_IReadOnlyList_1_GetEnumerator" data-uid="Net3_Proxy.IReadOnlyList`1.GetEnumerator">GetEnumerator()</h4>
  223. <div class="markdown level1 summary"></div>
  224. <div class="markdown level1 conceptual"></div>
  225. <h5 class="decalaration">Declaration</h5>
  226. <div class="codewrapper">
  227. <pre><code class="lang-csharp hljs">public IEnumerator&lt;T&gt; GetEnumerator()</code></pre>
  228. </div>
  229. <h5 class="returns">Returns</h5>
  230. <table class="table table-bordered table-striped table-condensed">
  231. <thead>
  232. <tr>
  233. <th>Type</th>
  234. <th>Description</th>
  235. </tr>
  236. </thead>
  237. <tbody>
  238. <tr>
  239. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1">IEnumerator</a>&lt;T&gt;</td>
  240. <td></td>
  241. </tr>
  242. </tbody>
  243. </table>
  244. <h3 id="operators">Operators
  245. </h3>
  246. <span class="small pull-right mobile-hide">
  247. <span class="divider">|</span>
  248. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1_op_Implicit_System_Collections_Generic_List__0___Net3_Proxy_IReadOnlyList__0_.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601.op_Implicit(System.Collections.Generic.List%7B%600%7D)~Net3_Proxy.IReadOnlyList%7B%600%7D%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  249. </span>
  250. <span class="small pull-right mobile-hide">
  251. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L27">View Source</a>
  252. </span>
  253. <a id="Net3_Proxy_IReadOnlyList_1_op_Implicit_" data-uid="Net3_Proxy.IReadOnlyList`1.op_Implicit*"></a>
  254. <h4 id="Net3_Proxy_IReadOnlyList_1_op_Implicit_System_Collections_Generic_List__0___Net3_Proxy_IReadOnlyList__0_" data-uid="Net3_Proxy.IReadOnlyList`1.op_Implicit(System.Collections.Generic.List{`0})~Net3_Proxy.IReadOnlyList{`0}">Implicit(List&lt;T&gt; to IReadOnlyList&lt;T&gt;)</h4>
  255. <div class="markdown level1 summary"></div>
  256. <div class="markdown level1 conceptual"></div>
  257. <h5 class="decalaration">Declaration</h5>
  258. <div class="codewrapper">
  259. <pre><code class="lang-csharp hljs">public static implicit operator IReadOnlyList&lt;T&gt;(List&lt;T&gt; list)</code></pre>
  260. </div>
  261. <h5 class="parameters">Parameters</h5>
  262. <table class="table table-bordered table-striped table-condensed">
  263. <thead>
  264. <tr>
  265. <th>Type</th>
  266. <th>Name</th>
  267. <th>Description</th>
  268. </tr>
  269. </thead>
  270. <tbody>
  271. <tr>
  272. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;T&gt;</td>
  273. <td><span class="parametername">list</span></td>
  274. <td></td>
  275. </tr>
  276. </tbody>
  277. </table>
  278. <h5 class="returns">Returns</h5>
  279. <table class="table table-bordered table-striped table-condensed">
  280. <thead>
  281. <tr>
  282. <th>Type</th>
  283. <th>Description</th>
  284. </tr>
  285. </thead>
  286. <tbody>
  287. <tr>
  288. <td><a class="xref" href="Net3_Proxy.IReadOnlyList-1.html">IReadOnlyList</a>&lt;T&gt;</td>
  289. <td></td>
  290. </tr>
  291. </tbody>
  292. </table>
  293. <h3 id="eii">Explicit Interface Implementations
  294. </h3>
  295. <span class="small pull-right mobile-hide">
  296. <span class="divider">|</span>
  297. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1_System_Collections_IEnumerable_GetEnumerator.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601.System%23Collections%23IEnumerable%23GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  298. </span>
  299. <span class="small pull-right mobile-hide">
  300. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L21">View Source</a>
  301. </span>
  302. <a id="Net3_Proxy_IReadOnlyList_1_System_Collections_IEnumerable_GetEnumerator_" data-uid="Net3_Proxy.IReadOnlyList`1.System#Collections#IEnumerable#GetEnumerator*"></a>
  303. <h4 id="Net3_Proxy_IReadOnlyList_1_System_Collections_IEnumerable_GetEnumerator" data-uid="Net3_Proxy.IReadOnlyList`1.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4>
  304. <div class="markdown level1 summary"></div>
  305. <div class="markdown level1 conceptual"></div>
  306. <h5 class="decalaration">Declaration</h5>
  307. <div class="codewrapper">
  308. <pre><code class="lang-csharp hljs">IEnumerator IEnumerable.GetEnumerator()</code></pre>
  309. </div>
  310. <h5 class="returns">Returns</h5>
  311. <table class="table table-bordered table-striped table-condensed">
  312. <thead>
  313. <tr>
  314. <th>Type</th>
  315. <th>Description</th>
  316. </tr>
  317. </thead>
  318. <tbody>
  319. <tr>
  320. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a></td>
  321. <td></td>
  322. </tr>
  323. </tbody>
  324. </table>
  325. <h3 id="implements">Implements</h3>
  326. <div>
  327. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">System.Collections.Generic.IEnumerable&lt;T&gt;</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.ienumerable">System.Collections.IEnumerable</a>
  331. </div>
  332. <h3 id="extensionmethods">Extension Methods</h3>
  333. <div>
  334. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateField_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateField(Object, String, Object)</a>
  335. </div>
  336. <div>
  337. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetPrivateField__1_System_Object_System_String_">ReflectionUtil.GetPrivateField&lt;T&gt;(Object, String)</a>
  338. </div>
  339. <div>
  340. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateProperty(Object, String, Object)</a>
  341. </div>
  342. <div>
  343. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod(Object, String, Object[])</a>
  344. </div>
  345. <div>
  346. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod__1_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod&lt;T&gt;(Object, String, Object[])</a>
  347. </div>
  348. </article>
  349. </div>
  350. <div class="hidden-sm col-md-2" role="complementary">
  351. <div class="sideaffix">
  352. <div class="contribution">
  353. <ul class="nav">
  354. <li>
  355. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_IReadOnlyList_1.md&amp;value=---%0Auid%3A%20Net3_Proxy.IReadOnlyList%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  356. </li>
  357. <li>
  358. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/3a676e63dd73df60735f6677bd224094d4b86d70/Net3-Proxy/IReadOnlyList.cs/#L10" class="contribution-link">View Source</a>
  359. </li>
  360. </ul>
  361. </div>
  362. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  363. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  364. </nav>
  365. </div>
  366. </div>
  367. </div>
  368. </div>
  369. <footer>
  370. <div class="grad-bottom"></div>
  371. <div class="footer">
  372. <div class="container">
  373. <span class="pull-right">
  374. <a href="#top">Back to top</a>
  375. </span>
  376. <span>Generated by <strong>DocFX</strong></span>
  377. </div>
  378. </div>
  379. </footer>
  380. </div>
  381. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  382. <script type="text/javascript" src="../styles/docfx.js"></script>
  383. <script type="text/javascript" src="../styles/main.js"></script>
  384. </body>
  385. </html>