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.

521 lines
23 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 Ref&lt;T&gt;
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Ref&lt;T&gt;
  11. ">
  12. <meta name="generator" content="docfx 2.42.4.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=Open+Sans" rel="stylesheet">
  18. <meta property="docfx:navrel" content="../toc.html">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../index.html">
  33. <img id="logo" class="svg" src="../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="IPA.Utilities.Ref`1">
  63. <h1 id="IPA_Utilities_Ref_1" data-uid="IPA.Utilities.Ref`1" class="text-break">Class Ref&lt;T&gt;
  64. </h1>
  65. <div class="markdown level0 summary"><p>A class to store a reference for passing to methods which cannot take ref parameters.</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><span class="xref">Ref&lt;T&gt;</span></div>
  72. </div>
  73. <div classs="implements">
  74. <h5>Implements</h5>
  75. <div><span class="xref">System.IComparable</span>&lt;T&gt;</div>
  76. <div><span class="xref">System.IComparable</span>&lt;<a class="xref" href="IPA.Utilities.Ref-1.html">Ref</a>&lt;T&gt;&gt;</div>
  77. </div>
  78. <div class="inheritedMembers">
  79. <h5>Inherited Members</h5>
  80. <div>
  81. <span class="xref">System.Object.ToString()</span>
  82. </div>
  83. <div>
  84. <span class="xref">System.Object.Equals(System.Object)</span>
  85. </div>
  86. <div>
  87. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  88. </div>
  89. <div>
  90. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  91. </div>
  92. <div>
  93. <span class="xref">System.Object.GetHashCode()</span>
  94. </div>
  95. <div>
  96. <span class="xref">System.Object.GetType()</span>
  97. </div>
  98. <div>
  99. <span class="xref">System.Object.MemberwiseClone()</span>
  100. </div>
  101. </div>
  102. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Utilities.html">IPA.Utilities</a></h6>
  103. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  104. <h5 id="IPA_Utilities_Ref_1_syntax">Syntax</h5>
  105. <div class="codewrapper">
  106. <pre><code class="lang-csharp hljs">public class Ref&lt;T&gt; : IComparable&lt;T&gt;, IComparable&lt;Ref&lt;T&gt;&gt;</code></pre>
  107. </div>
  108. <h5 class="typeParameters">Type Parameters</h5>
  109. <table class="table table-bordered table-striped table-condensed">
  110. <thead>
  111. <tr>
  112. <th>Name</th>
  113. <th>Description</th>
  114. </tr>
  115. </thead>
  116. <tbody>
  117. <tr>
  118. <td><span class="parametername">T</span></td>
  119. <td><p>the type of the value</p>
  120. </td>
  121. </tr>
  122. </tbody>
  123. </table>
  124. <h3 id="constructors">Constructors
  125. </h3>
  126. <span class="small pull-right mobile-hide">
  127. <span class="divider">|</span>
  128. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1__ctor__0_.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.%23ctor(%600)%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>
  129. </span>
  130. <span class="small pull-right mobile-hide">
  131. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L66">View Source</a>
  132. </span>
  133. <a id="IPA_Utilities_Ref_1__ctor_" data-uid="IPA.Utilities.Ref`1.#ctor*"></a>
  134. <h4 id="IPA_Utilities_Ref_1__ctor__0_" data-uid="IPA.Utilities.Ref`1.#ctor(`0)">Ref(T)</h4>
  135. <div class="markdown level1 summary"><p>Constructor.</p>
  136. </div>
  137. <div class="markdown level1 conceptual"></div>
  138. <h5 class="decalaration">Declaration</h5>
  139. <div class="codewrapper">
  140. <pre><code class="lang-csharp hljs">public Ref(T reference)</code></pre>
  141. </div>
  142. <h5 class="parameters">Parameters</h5>
  143. <table class="table table-bordered table-striped table-condensed">
  144. <thead>
  145. <tr>
  146. <th>Type</th>
  147. <th>Name</th>
  148. <th>Description</th>
  149. </tr>
  150. </thead>
  151. <tbody>
  152. <tr>
  153. <td><span class="xref">T</span></td>
  154. <td><span class="parametername">reference</span></td>
  155. <td><p>the initial value of the reference</p>
  156. </td>
  157. </tr>
  158. </tbody>
  159. </table>
  160. <h3 id="properties">Properties
  161. </h3>
  162. <span class="small pull-right mobile-hide">
  163. <span class="divider">|</span>
  164. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_Error.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.Error%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>
  165. </span>
  166. <span class="small pull-right mobile-hide">
  167. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L50">View Source</a>
  168. </span>
  169. <a id="IPA_Utilities_Ref_1_Error_" data-uid="IPA.Utilities.Ref`1.Error*"></a>
  170. <h4 id="IPA_Utilities_Ref_1_Error" data-uid="IPA.Utilities.Ref`1.Error">Error</h4>
  171. <div class="markdown level1 summary"><p>An exception that was generated while creating the value.</p>
  172. </div>
  173. <div class="markdown level1 conceptual"></div>
  174. <h5 class="decalaration">Declaration</h5>
  175. <div class="codewrapper">
  176. <pre><code class="lang-csharp hljs">public Exception Error { get; set; }</code></pre>
  177. </div>
  178. <h5 class="propertyValue">Property Value</h5>
  179. <table class="table table-bordered table-striped table-condensed">
  180. <thead>
  181. <tr>
  182. <th>Type</th>
  183. <th>Description</th>
  184. </tr>
  185. </thead>
  186. <tbody>
  187. <tr>
  188. <td><span class="xref">System.Exception</span></td>
  189. <td><p>the error held in this <a class="xref" href="IPA.Utilities.Ref-1.html">Ref&lt;T&gt;</a></p>
  190. </td>
  191. </tr>
  192. </tbody>
  193. </table>
  194. <span class="small pull-right mobile-hide">
  195. <span class="divider">|</span>
  196. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_Value.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.Value%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>
  197. </span>
  198. <span class="small pull-right mobile-hide">
  199. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L35">View Source</a>
  200. </span>
  201. <a id="IPA_Utilities_Ref_1_Value_" data-uid="IPA.Utilities.Ref`1.Value*"></a>
  202. <h4 id="IPA_Utilities_Ref_1_Value" data-uid="IPA.Utilities.Ref`1.Value">Value</h4>
  203. <div class="markdown level1 summary"><p>The value of the reference</p>
  204. </div>
  205. <div class="markdown level1 conceptual"></div>
  206. <h5 class="decalaration">Declaration</h5>
  207. <div class="codewrapper">
  208. <pre><code class="lang-csharp hljs">public T Value { get; set; }</code></pre>
  209. </div>
  210. <h5 class="propertyValue">Property Value</h5>
  211. <table class="table table-bordered table-striped table-condensed">
  212. <thead>
  213. <tr>
  214. <th>Type</th>
  215. <th>Description</th>
  216. </tr>
  217. </thead>
  218. <tbody>
  219. <tr>
  220. <td><span class="xref">T</span></td>
  221. <td><p>the value wrapped by this <a class="xref" href="IPA.Utilities.Ref-1.html">Ref&lt;T&gt;</a></p>
  222. </td>
  223. </tr>
  224. </tbody>
  225. </table>
  226. <h3 id="methods">Methods
  227. </h3>
  228. <span class="small pull-right mobile-hide">
  229. <span class="divider">|</span>
  230. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_CompareTo__0_.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.CompareTo(%600)%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>
  231. </span>
  232. <span class="small pull-right mobile-hide">
  233. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L104">View Source</a>
  234. </span>
  235. <a id="IPA_Utilities_Ref_1_CompareTo_" data-uid="IPA.Utilities.Ref`1.CompareTo*"></a>
  236. <h4 id="IPA_Utilities_Ref_1_CompareTo__0_" data-uid="IPA.Utilities.Ref`1.CompareTo(`0)">CompareTo(T)</h4>
  237. <div class="markdown level1 summary"><p>Compares the wrapped object to the other object.</p>
  238. </div>
  239. <div class="markdown level1 conceptual"></div>
  240. <h5 class="decalaration">Declaration</h5>
  241. <div class="codewrapper">
  242. <pre><code class="lang-csharp hljs">public int CompareTo(T other)</code></pre>
  243. </div>
  244. <h5 class="parameters">Parameters</h5>
  245. <table class="table table-bordered table-striped table-condensed">
  246. <thead>
  247. <tr>
  248. <th>Type</th>
  249. <th>Name</th>
  250. <th>Description</th>
  251. </tr>
  252. </thead>
  253. <tbody>
  254. <tr>
  255. <td><span class="xref">T</span></td>
  256. <td><span class="parametername">other</span></td>
  257. <td><p>the object to compare to</p>
  258. </td>
  259. </tr>
  260. </tbody>
  261. </table>
  262. <h5 class="returns">Returns</h5>
  263. <table class="table table-bordered table-striped table-condensed">
  264. <thead>
  265. <tr>
  266. <th>Type</th>
  267. <th>Description</th>
  268. </tr>
  269. </thead>
  270. <tbody>
  271. <tr>
  272. <td><span class="xref">System.Int32</span></td>
  273. <td><p>the value of the comparison</p>
  274. </td>
  275. </tr>
  276. </tbody>
  277. </table>
  278. <span class="small pull-right mobile-hide">
  279. <span class="divider">|</span>
  280. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_CompareTo_IPA_Utilities_Ref__0__.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.CompareTo(IPA.Utilities.Ref%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>
  281. </span>
  282. <span class="small pull-right mobile-hide">
  283. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L116">View Source</a>
  284. </span>
  285. <a id="IPA_Utilities_Ref_1_CompareTo_" data-uid="IPA.Utilities.Ref`1.CompareTo*"></a>
  286. <h4 id="IPA_Utilities_Ref_1_CompareTo_IPA_Utilities_Ref__0__" data-uid="IPA.Utilities.Ref`1.CompareTo(IPA.Utilities.Ref{`0})">CompareTo(Ref&lt;T&gt;)</h4>
  287. <div class="markdown level1 summary"><p>Compares the wrapped object to the other wrapped object.</p>
  288. </div>
  289. <div class="markdown level1 conceptual"></div>
  290. <h5 class="decalaration">Declaration</h5>
  291. <div class="codewrapper">
  292. <pre><code class="lang-csharp hljs">public int CompareTo(Ref&lt;T&gt; other)</code></pre>
  293. </div>
  294. <h5 class="parameters">Parameters</h5>
  295. <table class="table table-bordered table-striped table-condensed">
  296. <thead>
  297. <tr>
  298. <th>Type</th>
  299. <th>Name</th>
  300. <th>Description</th>
  301. </tr>
  302. </thead>
  303. <tbody>
  304. <tr>
  305. <td><a class="xref" href="IPA.Utilities.Ref-1.html">Ref</a>&lt;T&gt;</td>
  306. <td><span class="parametername">other</span></td>
  307. <td><p>the wrapped object to compare to</p>
  308. </td>
  309. </tr>
  310. </tbody>
  311. </table>
  312. <h5 class="returns">Returns</h5>
  313. <table class="table table-bordered table-striped table-condensed">
  314. <thead>
  315. <tr>
  316. <th>Type</th>
  317. <th>Description</th>
  318. </tr>
  319. </thead>
  320. <tbody>
  321. <tr>
  322. <td><span class="xref">System.Int32</span></td>
  323. <td><p>the value of the comparison</p>
  324. </td>
  325. </tr>
  326. </tbody>
  327. </table>
  328. <span class="small pull-right mobile-hide">
  329. <span class="divider">|</span>
  330. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_Verify.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.Verify%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>
  331. </span>
  332. <span class="small pull-right mobile-hide">
  333. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L94">View Source</a>
  334. </span>
  335. <a id="IPA_Utilities_Ref_1_Verify_" data-uid="IPA.Utilities.Ref`1.Verify*"></a>
  336. <h4 id="IPA_Utilities_Ref_1_Verify" data-uid="IPA.Utilities.Ref`1.Verify">Verify()</h4>
  337. <div class="markdown level1 summary"><p>Throws error if one was set.</p>
  338. </div>
  339. <div class="markdown level1 conceptual"></div>
  340. <h5 class="decalaration">Declaration</h5>
  341. <div class="codewrapper">
  342. <pre><code class="lang-csharp hljs">public void Verify()</code></pre>
  343. </div>
  344. <h3 id="operators">Operators
  345. </h3>
  346. <span class="small pull-right mobile-hide">
  347. <span class="divider">|</span>
  348. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_op_Implicit__0__IPA_Utilities_Ref__0_.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.op_Implicit(%600)~IPA.Utilities.Ref%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>
  349. </span>
  350. <span class="small pull-right mobile-hide">
  351. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L86">View Source</a>
  352. </span>
  353. <a id="IPA_Utilities_Ref_1_op_Implicit_" data-uid="IPA.Utilities.Ref`1.op_Implicit*"></a>
  354. <h4 id="IPA_Utilities_Ref_1_op_Implicit__0__IPA_Utilities_Ref__0_" data-uid="IPA.Utilities.Ref`1.op_Implicit(`0)~IPA.Utilities.Ref{`0}">Implicit(T to Ref&lt;T&gt;)</h4>
  355. <div class="markdown level1 summary"><p>Converts a value T to a reference to that object. Will overwrite the reference in the left hand expression if there is one.</p>
  356. </div>
  357. <div class="markdown level1 conceptual"></div>
  358. <h5 class="decalaration">Declaration</h5>
  359. <div class="codewrapper">
  360. <pre><code class="lang-csharp hljs">public static implicit operator Ref&lt;T&gt;(T toConvert)</code></pre>
  361. </div>
  362. <h5 class="parameters">Parameters</h5>
  363. <table class="table table-bordered table-striped table-condensed">
  364. <thead>
  365. <tr>
  366. <th>Type</th>
  367. <th>Name</th>
  368. <th>Description</th>
  369. </tr>
  370. </thead>
  371. <tbody>
  372. <tr>
  373. <td><span class="xref">T</span></td>
  374. <td><span class="parametername">toConvert</span></td>
  375. <td><p>the value to wrap in the Ref</p>
  376. </td>
  377. </tr>
  378. </tbody>
  379. </table>
  380. <h5 class="returns">Returns</h5>
  381. <table class="table table-bordered table-striped table-condensed">
  382. <thead>
  383. <tr>
  384. <th>Type</th>
  385. <th>Description</th>
  386. </tr>
  387. </thead>
  388. <tbody>
  389. <tr>
  390. <td><a class="xref" href="IPA.Utilities.Ref-1.html">Ref</a>&lt;T&gt;</td>
  391. <td><p>the Ref wrapping the value</p>
  392. </td>
  393. </tr>
  394. </tbody>
  395. </table>
  396. <span class="small pull-right mobile-hide">
  397. <span class="divider">|</span>
  398. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1_op_Implicit_IPA_Utilities_Ref__0____0.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%601.op_Implicit(IPA.Utilities.Ref%7B%600%7D)~%600%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>
  399. </span>
  400. <span class="small pull-right mobile-hide">
  401. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L76">View Source</a>
  402. </span>
  403. <a id="IPA_Utilities_Ref_1_op_Implicit_" data-uid="IPA.Utilities.Ref`1.op_Implicit*"></a>
  404. <h4 id="IPA_Utilities_Ref_1_op_Implicit_IPA_Utilities_Ref__0____0" data-uid="IPA.Utilities.Ref`1.op_Implicit(IPA.Utilities.Ref{`0})~`0">Implicit(Ref&lt;T&gt; to T)</h4>
  405. <div class="markdown level1 summary"><p>Converts to referenced type, returning the stored reference.</p>
  406. </div>
  407. <div class="markdown level1 conceptual"></div>
  408. <h5 class="decalaration">Declaration</h5>
  409. <div class="codewrapper">
  410. <pre><code class="lang-csharp hljs">public static implicit operator T(Ref&lt;T&gt; self)</code></pre>
  411. </div>
  412. <h5 class="parameters">Parameters</h5>
  413. <table class="table table-bordered table-striped table-condensed">
  414. <thead>
  415. <tr>
  416. <th>Type</th>
  417. <th>Name</th>
  418. <th>Description</th>
  419. </tr>
  420. </thead>
  421. <tbody>
  422. <tr>
  423. <td><a class="xref" href="IPA.Utilities.Ref-1.html">Ref</a>&lt;T&gt;</td>
  424. <td><span class="parametername">self</span></td>
  425. <td><p>the object to be de-referenced</p>
  426. </td>
  427. </tr>
  428. </tbody>
  429. </table>
  430. <h5 class="returns">Returns</h5>
  431. <table class="table table-bordered table-striped table-condensed">
  432. <thead>
  433. <tr>
  434. <th>Type</th>
  435. <th>Description</th>
  436. </tr>
  437. </thead>
  438. <tbody>
  439. <tr>
  440. <td><span class="xref">T</span></td>
  441. <td><p>the value referenced by the object</p>
  442. </td>
  443. </tr>
  444. </tbody>
  445. </table>
  446. <h3 id="implements">Implements</h3>
  447. <div>
  448. <span class="xref">System.IComparable&lt;T&gt;</span>
  449. </div>
  450. <div>
  451. <span class="xref">System.IComparable&lt;T&gt;</span>
  452. </div>
  453. <h3 id="extensionmethods">Extension Methods</h3>
  454. <div>
  455. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateField_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateField(Object, String, Object)</a>
  456. </div>
  457. <div>
  458. <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>
  459. </div>
  460. <div>
  461. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetPrivateProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetPrivateProperty(Object, String, Object)</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokePrivateMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokePrivateMethod(Object, String, Object[])</a>
  465. </div>
  466. <div>
  467. <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>
  468. </div>
  469. </article>
  470. </div>
  471. <div class="hidden-sm col-md-2" role="complementary">
  472. <div class="sideaffix">
  473. <div class="contribution">
  474. <ul class="nav">
  475. <li>
  476. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Utilities_Ref_1.md&amp;value=---%0Auid%3A%20IPA.Utilities.Ref%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>
  477. </li>
  478. <li>
  479. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Utilities/Ref.cs/#L28" class="contribution-link">View Source</a>
  480. </li>
  481. </ul>
  482. </div>
  483. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  484. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  485. </nav>
  486. </div>
  487. </div>
  488. </div>
  489. </div>
  490. <footer>
  491. <div class="grad-bottom"></div>
  492. <div class="footer">
  493. <div class="container">
  494. <span class="pull-right">
  495. <a href="#top">Back to top</a>
  496. </span>
  497. <span>Generated by <strong>DocFX</strong></span>
  498. </div>
  499. </div>
  500. </footer>
  501. </div>
  502. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  503. <script type="text/javascript" src="../styles/docfx.js"></script>
  504. <script type="text/javascript" src="../styles/main.js"></script>
  505. </body>
  506. </html>