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.

1340 lines
74 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  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 AlmostVersion
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class AlmostVersion
  11. ">
  12. <meta name="generator" content="docfx 2.59.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 rel="stylesheet" href="../styles/fix.css">
  18. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../">
  22. <meta property="docfx:newtab" content="true">
  23. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  24. <div id="wrapper">
  25. <header>
  26. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  27. <div class="container">
  28. <div class="navbar-header">
  29. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  30. <span class="sr-only">Toggle navigation</span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. <span class="icon-bar"></span>
  34. </button>
  35. <a class="navbar-brand" href="../index.html">
  36. <img id="logo" class="svg" src="../logo.svg" alt="">
  37. </a>
  38. </div>
  39. <div class="collapse navbar-collapse" id="navbar">
  40. <form class="navbar-form navbar-right" role="search" id="search">
  41. <div class="form-group">
  42. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  43. </div>
  44. </form>
  45. </div>
  46. </div>
  47. </nav>
  48. <div class="subnav navbar navbar-default">
  49. <div class="container hide-when-search" id="breadcrumb">
  50. <ul class="breadcrumb">
  51. <li></li>
  52. </ul>
  53. </div>
  54. </div>
  55. </header>
  56. <div class="container body-content">
  57. <div id="search-results">
  58. <div class="search-list">Search Results for <span></span></div>
  59. <div class="sr-items">
  60. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  61. </div>
  62. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  63. </div>
  64. </div>
  65. <div role="main" class="container body-content hide-when-search">
  66. <div class="sidenav hide-when-search">
  67. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  68. <div class="sidetoggle collapse" id="sidetoggle">
  69. <div id="sidetoc"></div>
  70. </div>
  71. </div>
  72. <div class="article row grid-right">
  73. <div class="col-md-10">
  74. <article class="content wrap" id="_content" data-uid="IPA.Utilities.AlmostVersion">
  75. <h1 id="IPA_Utilities_AlmostVersion" data-uid="IPA.Utilities.AlmostVersion" class="text-break">Class AlmostVersion
  76. </h1>
  77. <div class="markdown level0 summary"><p>A type that wraps <span class="xref">Hive.Versioning.Version</span> so that the string of the version is stored when the string is
  78. not a valid <span class="xref">Hive.Versioning.Version</span>.</p>
  79. </div>
  80. <div class="markdown level0 conceptual"></div>
  81. <div class="inheritance">
  82. <h5>Inheritance</h5>
  83. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></div>
  84. <div class="level1"><span class="xref">AlmostVersion</span></div>
  85. </div>
  86. <div class="implements">
  87. <h5>Implements</h5>
  88. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a>&gt;</div>
  89. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<span class="xref">Hive.Versioning.Version</span>&gt;</div>
  90. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<a class="xref" href="SemVer.Version.html">Version</a>&gt;</div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
  105. </div>
  106. </div>
  107. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Utilities.html">IPA.Utilities</a></h6>
  108. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  109. <h5 id="IPA_Utilities_AlmostVersion_syntax">Syntax</h5>
  110. <div class="codewrapper">
  111. <pre><code class="lang-csharp hljs">public class AlmostVersion : IComparable&lt;AlmostVersion&gt;, IComparable&lt;Version&gt;, IComparable&lt;Version&gt;</code></pre>
  112. </div>
  113. <h3 id="constructors">Constructors
  114. </h3>
  115. <span class="small pull-right mobile-hide">
  116. <span class="divider">|</span>
  117. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion__ctor_Hive_Versioning_Version_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.%23ctor(Hive.Versioning.Version)%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>
  118. </span>
  119. <span class="small pull-right mobile-hide">
  120. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L50">View Source</a>
  121. </span>
  122. <a id="IPA_Utilities_AlmostVersion__ctor_" data-uid="IPA.Utilities.AlmostVersion.#ctor*"></a>
  123. <h4 id="IPA_Utilities_AlmostVersion__ctor_Hive_Versioning_Version_" data-uid="IPA.Utilities.AlmostVersion.#ctor(Hive.Versioning.Version)">AlmostVersion(Version)</h4>
  124. <div class="markdown level1 summary"><p>Creates an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> from the <span class="xref">Hive.Versioning.Version</span> provided in <code data-dev-comment-type="paramref" class="paramref">ver</code>.</p>
  125. </div>
  126. <div class="markdown level1 conceptual"></div>
  127. <h5 class="decalaration">Declaration</h5>
  128. <div class="codewrapper">
  129. <pre><code class="lang-csharp hljs">public AlmostVersion(Version ver)</code></pre>
  130. </div>
  131. <h5 class="parameters">Parameters</h5>
  132. <table class="table table-bordered table-striped table-condensed">
  133. <thead>
  134. <tr>
  135. <th>Type</th>
  136. <th>Name</th>
  137. <th>Description</th>
  138. </tr>
  139. </thead>
  140. <tbody>
  141. <tr>
  142. <td><span class="xref">Hive.Versioning.Version</span></td>
  143. <td><span class="parametername">ver</span></td>
  144. <td><p>the <span class="xref">Hive.Versioning.Version</span> to store</p>
  145. </td>
  146. </tr>
  147. </tbody>
  148. </table>
  149. <span class="small pull-right mobile-hide">
  150. <span class="divider">|</span>
  151. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion__ctor_SemVer_Version_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.%23ctor(SemVer.Version)%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>
  152. </span>
  153. <span class="small pull-right mobile-hide">
  154. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L60">View Source</a>
  155. </span>
  156. <a id="IPA_Utilities_AlmostVersion__ctor_" data-uid="IPA.Utilities.AlmostVersion.#ctor*"></a>
  157. <h4 id="IPA_Utilities_AlmostVersion__ctor_SemVer_Version_" data-uid="IPA.Utilities.AlmostVersion.#ctor(SemVer.Version)">AlmostVersion(Version)</h4>
  158. <div class="markdown level1 summary"><p>Creates an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> from the <a class="xref" href="SemVer.Version.html">Version</a> provided in <code data-dev-comment-type="paramref" class="paramref">ver</code>.</p>
  159. </div>
  160. <div class="markdown level1 conceptual"></div>
  161. <h5 class="decalaration">Declaration</h5>
  162. <div class="codewrapper">
  163. <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use Hive.Versioning.Version constructor instead.&quot;)]
  164. public AlmostVersion(Version ver)</code></pre>
  165. </div>
  166. <h5 class="parameters">Parameters</h5>
  167. <table class="table table-bordered table-striped table-condensed">
  168. <thead>
  169. <tr>
  170. <th>Type</th>
  171. <th>Name</th>
  172. <th>Description</th>
  173. </tr>
  174. </thead>
  175. <tbody>
  176. <tr>
  177. <td><a class="xref" href="SemVer.Version.html">Version</a></td>
  178. <td><span class="parametername">ver</span></td>
  179. <td><p>the <a class="xref" href="SemVer.Version.html">Version</a> to store</p>
  180. </td>
  181. </tr>
  182. </tbody>
  183. </table>
  184. <span class="small pull-right mobile-hide">
  185. <span class="divider">|</span>
  186. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion__ctor_System_String_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.%23ctor(System.String)%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>
  187. </span>
  188. <span class="small pull-right mobile-hide">
  189. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L40">View Source</a>
  190. </span>
  191. <a id="IPA_Utilities_AlmostVersion__ctor_" data-uid="IPA.Utilities.AlmostVersion.#ctor*"></a>
  192. <h4 id="IPA_Utilities_AlmostVersion__ctor_System_String_" data-uid="IPA.Utilities.AlmostVersion.#ctor(System.String)">AlmostVersion(String)</h4>
  193. <div class="markdown level1 summary"><p>Creates a new <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> with the version string provided in <code data-dev-comment-type="paramref" class="paramref">vertext</code>.</p>
  194. </div>
  195. <div class="markdown level1 conceptual"></div>
  196. <h5 class="decalaration">Declaration</h5>
  197. <div class="codewrapper">
  198. <pre><code class="lang-csharp hljs">public AlmostVersion(string vertext)</code></pre>
  199. </div>
  200. <h5 class="parameters">Parameters</h5>
  201. <table class="table table-bordered table-striped table-condensed">
  202. <thead>
  203. <tr>
  204. <th>Type</th>
  205. <th>Name</th>
  206. <th>Description</th>
  207. </tr>
  208. </thead>
  209. <tbody>
  210. <tr>
  211. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  212. <td><span class="parametername">vertext</span></td>
  213. <td><p>the version string to store</p>
  214. </td>
  215. </tr>
  216. </tbody>
  217. </table>
  218. <span class="small pull-right mobile-hide">
  219. <span class="divider">|</span>
  220. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion__ctor_System_String_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.%23ctor(System.String%2CIPA.Utilities.AlmostVersion)%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>
  221. </span>
  222. <span class="small pull-right mobile-hide">
  223. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L81">View Source</a>
  224. </span>
  225. <a id="IPA_Utilities_AlmostVersion__ctor_" data-uid="IPA.Utilities.AlmostVersion.#ctor*"></a>
  226. <h4 id="IPA_Utilities_AlmostVersion__ctor_System_String_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.#ctor(System.String,IPA.Utilities.AlmostVersion)">AlmostVersion(String, AlmostVersion)</h4>
  227. <div class="markdown level1 summary"><p>Creates a new <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> from the version string in <code data-dev-comment-type="paramref" class="paramref">vertext</code> stored the
  228. same way as the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> passed in <code data-dev-comment-type="paramref" class="paramref">copyMode</code>.</p>
  229. </div>
  230. <div class="markdown level1 conceptual"></div>
  231. <h5 class="decalaration">Declaration</h5>
  232. <div class="codewrapper">
  233. <pre><code class="lang-csharp hljs">public AlmostVersion(string vertext, AlmostVersion copyMode)</code></pre>
  234. </div>
  235. <h5 class="parameters">Parameters</h5>
  236. <table class="table table-bordered table-striped table-condensed">
  237. <thead>
  238. <tr>
  239. <th>Type</th>
  240. <th>Name</th>
  241. <th>Description</th>
  242. </tr>
  243. </thead>
  244. <tbody>
  245. <tr>
  246. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  247. <td><span class="parametername">vertext</span></td>
  248. <td><p>the text to parse as an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></p>
  249. </td>
  250. </tr>
  251. <tr>
  252. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  253. <td><span class="parametername">copyMode</span></td>
  254. <td><p>an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to copy the storage mode of</p>
  255. </td>
  256. </tr>
  257. </tbody>
  258. </table>
  259. <span class="small pull-right mobile-hide">
  260. <span class="divider">|</span>
  261. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion__ctor_System_String_IPA_Utilities_AlmostVersion_StoredAs_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.%23ctor(System.String%2CIPA.Utilities.AlmostVersion.StoredAs)%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>
  262. </span>
  263. <span class="small pull-right mobile-hide">
  264. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L69">View Source</a>
  265. </span>
  266. <a id="IPA_Utilities_AlmostVersion__ctor_" data-uid="IPA.Utilities.AlmostVersion.#ctor*"></a>
  267. <h4 id="IPA_Utilities_AlmostVersion__ctor_System_String_IPA_Utilities_AlmostVersion_StoredAs_" data-uid="IPA.Utilities.AlmostVersion.#ctor(System.String,IPA.Utilities.AlmostVersion.StoredAs)">AlmostVersion(String, AlmostVersion.StoredAs)</h4>
  268. <div class="markdown level1 summary"><p>Creates an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> from the version string in <code data-dev-comment-type="paramref" class="paramref">vertext</code> stored using
  269. the storage mode specified in <code data-dev-comment-type="paramref" class="paramref">mode</code>.</p>
  270. </div>
  271. <div class="markdown level1 conceptual"></div>
  272. <h5 class="decalaration">Declaration</h5>
  273. <div class="codewrapper">
  274. <pre><code class="lang-csharp hljs">public AlmostVersion(string vertext, AlmostVersion.StoredAs mode)</code></pre>
  275. </div>
  276. <h5 class="parameters">Parameters</h5>
  277. <table class="table table-bordered table-striped table-condensed">
  278. <thead>
  279. <tr>
  280. <th>Type</th>
  281. <th>Name</th>
  282. <th>Description</th>
  283. </tr>
  284. </thead>
  285. <tbody>
  286. <tr>
  287. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  288. <td><span class="parametername">vertext</span></td>
  289. <td><p>the text to parse as an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></p>
  290. </td>
  291. </tr>
  292. <tr>
  293. <td><a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html">AlmostVersion.StoredAs</a></td>
  294. <td><span class="parametername">mode</span></td>
  295. <td><p>the storage mode to store the version in</p>
  296. </td>
  297. </tr>
  298. </tbody>
  299. </table>
  300. <h3 id="properties">Properties
  301. </h3>
  302. <span class="small pull-right mobile-hide">
  303. <span class="divider">|</span>
  304. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_SemverValue.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.SemverValue%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>
  305. </span>
  306. <span class="small pull-right mobile-hide">
  307. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L123">View Source</a>
  308. </span>
  309. <a id="IPA_Utilities_AlmostVersion_SemverValue_" data-uid="IPA.Utilities.AlmostVersion.SemverValue*"></a>
  310. <h4 id="IPA_Utilities_AlmostVersion_SemverValue" data-uid="IPA.Utilities.AlmostVersion.SemverValue">SemverValue</h4>
  311. <div class="markdown level1 summary"><p>The value of the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> if it was stored as a <span class="xref">Hive.Versioning.Version</span>.</p>
  312. </div>
  313. <div class="markdown level1 conceptual"></div>
  314. <h5 class="decalaration">Declaration</h5>
  315. <div class="codewrapper">
  316. <pre><code class="lang-csharp hljs">public Version SemverValue { get; }</code></pre>
  317. </div>
  318. <h5 class="propertyValue">Property Value</h5>
  319. <table class="table table-bordered table-striped table-condensed">
  320. <thead>
  321. <tr>
  322. <th>Type</th>
  323. <th>Description</th>
  324. </tr>
  325. </thead>
  326. <tbody>
  327. <tr>
  328. <td><span class="xref">Hive.Versioning.Version</span></td>
  329. <td><p>the stored value as a <span class="xref">Hive.Versioning.Version</span>, or <span class="xref">null</span> if not stored as a version.</p>
  330. </td>
  331. </tr>
  332. </tbody>
  333. </table>
  334. <span class="small pull-right mobile-hide">
  335. <span class="divider">|</span>
  336. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_StorageMode.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.StorageMode%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>
  337. </span>
  338. <span class="small pull-right mobile-hide">
  339. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L129">View Source</a>
  340. </span>
  341. <a id="IPA_Utilities_AlmostVersion_StorageMode_" data-uid="IPA.Utilities.AlmostVersion.StorageMode*"></a>
  342. <h4 id="IPA_Utilities_AlmostVersion_StorageMode" data-uid="IPA.Utilities.AlmostVersion.StorageMode">StorageMode</h4>
  343. <div class="markdown level1 summary"><p>The way the value is stored, whether it be as a <span class="xref">Hive.Versioning.Version</span> or a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>.</p>
  344. </div>
  345. <div class="markdown level1 conceptual"></div>
  346. <h5 class="decalaration">Declaration</h5>
  347. <div class="codewrapper">
  348. <pre><code class="lang-csharp hljs">public AlmostVersion.StoredAs StorageMode { get; }</code></pre>
  349. </div>
  350. <h5 class="propertyValue">Property Value</h5>
  351. <table class="table table-bordered table-striped table-condensed">
  352. <thead>
  353. <tr>
  354. <th>Type</th>
  355. <th>Description</th>
  356. </tr>
  357. </thead>
  358. <tbody>
  359. <tr>
  360. <td><a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html">AlmostVersion.StoredAs</a></td>
  361. <td><p>the storage mode used to store this value</p>
  362. </td>
  363. </tr>
  364. </tbody>
  365. </table>
  366. <span class="small pull-right mobile-hide">
  367. <span class="divider">|</span>
  368. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_StringValue.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.StringValue%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>
  369. </span>
  370. <span class="small pull-right mobile-hide">
  371. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L117">View Source</a>
  372. </span>
  373. <a id="IPA_Utilities_AlmostVersion_StringValue_" data-uid="IPA.Utilities.AlmostVersion.StringValue*"></a>
  374. <h4 id="IPA_Utilities_AlmostVersion_StringValue" data-uid="IPA.Utilities.AlmostVersion.StringValue">StringValue</h4>
  375. <div class="markdown level1 summary"><p>The value of the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> if it was stored as a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>.</p>
  376. </div>
  377. <div class="markdown level1 conceptual"></div>
  378. <h5 class="decalaration">Declaration</h5>
  379. <div class="codewrapper">
  380. <pre><code class="lang-csharp hljs">public string StringValue { get; }</code></pre>
  381. </div>
  382. <h5 class="propertyValue">Property Value</h5>
  383. <table class="table table-bordered table-striped table-condensed">
  384. <thead>
  385. <tr>
  386. <th>Type</th>
  387. <th>Description</th>
  388. </tr>
  389. </thead>
  390. <tbody>
  391. <tr>
  392. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  393. <td><p>the stored value as a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>, or <span class="xref">null</span> if not stored as a string.</p>
  394. </td>
  395. </tr>
  396. </tbody>
  397. </table>
  398. <h3 id="methods">Methods
  399. </h3>
  400. <span class="small pull-right mobile-hide">
  401. <span class="divider">|</span>
  402. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_CompareTo_Hive_Versioning_Version_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.CompareTo(Hive.Versioning.Version)%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>
  403. </span>
  404. <span class="small pull-right mobile-hide">
  405. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L169">View Source</a>
  406. </span>
  407. <a id="IPA_Utilities_AlmostVersion_CompareTo_" data-uid="IPA.Utilities.AlmostVersion.CompareTo*"></a>
  408. <h4 id="IPA_Utilities_AlmostVersion_CompareTo_Hive_Versioning_Version_" data-uid="IPA.Utilities.AlmostVersion.CompareTo(Hive.Versioning.Version)">CompareTo(Version)</h4>
  409. <div class="markdown level1 summary"><p>Compares <span class="xref">langword_csharp_this</span> to the <span class="xref">Hive.Versioning.Version</span> in <code data-dev-comment-type="paramref" class="paramref">other</code> using <span class="xref">Hive.Versioning.Version.CompareTo(Hive.Versioning.Version)</span>.</p>
  410. </div>
  411. <div class="markdown level1 conceptual"></div>
  412. <h5 class="decalaration">Declaration</h5>
  413. <div class="codewrapper">
  414. <pre><code class="lang-csharp hljs">public int CompareTo(Version other)</code></pre>
  415. </div>
  416. <h5 class="parameters">Parameters</h5>
  417. <table class="table table-bordered table-striped table-condensed">
  418. <thead>
  419. <tr>
  420. <th>Type</th>
  421. <th>Name</th>
  422. <th>Description</th>
  423. </tr>
  424. </thead>
  425. <tbody>
  426. <tr>
  427. <td><span class="xref">Hive.Versioning.Version</span></td>
  428. <td><span class="parametername">other</span></td>
  429. <td><p>the <span class="xref">Hive.Versioning.Version</span> to compare to</p>
  430. </td>
  431. </tr>
  432. </tbody>
  433. </table>
  434. <h5 class="returns">Returns</h5>
  435. <table class="table table-bordered table-striped table-condensed">
  436. <thead>
  437. <tr>
  438. <th>Type</th>
  439. <th>Description</th>
  440. </tr>
  441. </thead>
  442. <tbody>
  443. <tr>
  444. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  445. <td><p>less than 0 if <code data-dev-comment-type="paramref" class="paramref">other</code> is considered bigger than <span class="xref">langword_csharp_this</span>, 0 if equal, and greater than zero if smaller</p>
  446. </td>
  447. </tr>
  448. </tbody>
  449. </table>
  450. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_Hive_Versioning_Version__remarks">Remarks</h5>
  451. <div class="markdown level1 remarks"><p>The storage method of <span class="xref">langword_csharp_this</span> must be <a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html#IPA_Utilities_AlmostVersion_StoredAs_SemVer">SemVer</a>, else an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a> will
  452. be thrown.</p>
  453. </div>
  454. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_Hive_Versioning_Version__seealso">See Also</h5>
  455. <div class="seealso">
  456. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion_">CompareTo(AlmostVersion)</a></div>
  457. </div>
  458. <span class="small pull-right mobile-hide">
  459. <span class="divider">|</span>
  460. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.CompareTo(IPA.Utilities.AlmostVersion)%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>
  461. </span>
  462. <span class="small pull-right mobile-hide">
  463. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L150">View Source</a>
  464. </span>
  465. <a id="IPA_Utilities_AlmostVersion_CompareTo_" data-uid="IPA.Utilities.AlmostVersion.CompareTo*"></a>
  466. <h4 id="IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.CompareTo(IPA.Utilities.AlmostVersion)">CompareTo(AlmostVersion)</h4>
  467. <div class="markdown level1 summary"><p>Compares <span class="xref">langword_csharp_this</span> to the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> in <code data-dev-comment-type="paramref" class="paramref">other</code> using <span class="xref">Hive.Versioning.Version.CompareTo(Hive.Versioning.Version)</span>
  468. or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.compareto#system-string-compareto(system-string)">CompareTo(String)</a>, depending on the current store.</p>
  469. </div>
  470. <div class="markdown level1 conceptual"></div>
  471. <h5 class="decalaration">Declaration</h5>
  472. <div class="codewrapper">
  473. <pre><code class="lang-csharp hljs">public int CompareTo(AlmostVersion other)</code></pre>
  474. </div>
  475. <h5 class="parameters">Parameters</h5>
  476. <table class="table table-bordered table-striped table-condensed">
  477. <thead>
  478. <tr>
  479. <th>Type</th>
  480. <th>Name</th>
  481. <th>Description</th>
  482. </tr>
  483. </thead>
  484. <tbody>
  485. <tr>
  486. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  487. <td><span class="parametername">other</span></td>
  488. <td><p>the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to compare to</p>
  489. </td>
  490. </tr>
  491. </tbody>
  492. </table>
  493. <h5 class="returns">Returns</h5>
  494. <table class="table table-bordered table-striped table-condensed">
  495. <thead>
  496. <tr>
  497. <th>Type</th>
  498. <th>Description</th>
  499. </tr>
  500. </thead>
  501. <tbody>
  502. <tr>
  503. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  504. <td><p>less than 0 if <code data-dev-comment-type="paramref" class="paramref">other</code> is considered bigger than <span class="xref">langword_csharp_this</span>, 0 if equal, and greater than zero if smaller</p>
  505. </td>
  506. </tr>
  507. </tbody>
  508. </table>
  509. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion__remarks">Remarks</h5>
  510. <div class="markdown level1 remarks"><p>The storage methods of the two objects must be the same, or this will throw an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a>.</p>
  511. </div>
  512. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion__seealso">See Also</h5>
  513. <div class="seealso">
  514. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_CompareTo_Hive_Versioning_Version_">CompareTo(Version)</a></div>
  515. </div>
  516. <span class="small pull-right mobile-hide">
  517. <span class="divider">|</span>
  518. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_CompareTo_SemVer_Version_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.CompareTo(SemVer.Version)%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>
  519. </span>
  520. <span class="small pull-right mobile-hide">
  521. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L187">View Source</a>
  522. </span>
  523. <a id="IPA_Utilities_AlmostVersion_CompareTo_" data-uid="IPA.Utilities.AlmostVersion.CompareTo*"></a>
  524. <h4 id="IPA_Utilities_AlmostVersion_CompareTo_SemVer_Version_" data-uid="IPA.Utilities.AlmostVersion.CompareTo(SemVer.Version)">CompareTo(Version)</h4>
  525. <div class="markdown level1 summary"><p>Compares <span class="xref">langword_csharp_this</span> to the <a class="xref" href="SemVer.Version.html">Version</a> in <code data-dev-comment-type="paramref" class="paramref">other</code> using <span class="xref">Hive.Versioning.Version.CompareTo(Hive.Versioning.Version)</span>.</p>
  526. </div>
  527. <div class="markdown level1 conceptual"></div>
  528. <h5 class="decalaration">Declaration</h5>
  529. <div class="codewrapper">
  530. <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use the Hive.Versioning.Version overload instead.&quot;)]
  531. public int CompareTo(Version other)</code></pre>
  532. </div>
  533. <h5 class="parameters">Parameters</h5>
  534. <table class="table table-bordered table-striped table-condensed">
  535. <thead>
  536. <tr>
  537. <th>Type</th>
  538. <th>Name</th>
  539. <th>Description</th>
  540. </tr>
  541. </thead>
  542. <tbody>
  543. <tr>
  544. <td><a class="xref" href="SemVer.Version.html">Version</a></td>
  545. <td><span class="parametername">other</span></td>
  546. <td><p>the <a class="xref" href="SemVer.Version.html">Version</a> to compare to</p>
  547. </td>
  548. </tr>
  549. </tbody>
  550. </table>
  551. <h5 class="returns">Returns</h5>
  552. <table class="table table-bordered table-striped table-condensed">
  553. <thead>
  554. <tr>
  555. <th>Type</th>
  556. <th>Description</th>
  557. </tr>
  558. </thead>
  559. <tbody>
  560. <tr>
  561. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  562. <td><p>less than 0 if <code data-dev-comment-type="paramref" class="paramref">other</code> is considered bigger than <span class="xref">langword_csharp_this</span>, 0 if equal, and greater than zero if smaller</p>
  563. </td>
  564. </tr>
  565. </tbody>
  566. </table>
  567. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_SemVer_Version__remarks">Remarks</h5>
  568. <div class="markdown level1 remarks"><p>The storage method of <span class="xref">langword_csharp_this</span> must be <a class="xref" href="IPA.Utilities.AlmostVersion.StoredAs.html#IPA_Utilities_AlmostVersion_StoredAs_SemVer">SemVer</a>, else an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a> will
  569. be thrown.</p>
  570. </div>
  571. <h5 id="IPA_Utilities_AlmostVersion_CompareTo_SemVer_Version__seealso">See Also</h5>
  572. <div class="seealso">
  573. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_CompareTo_IPA_Utilities_AlmostVersion_">CompareTo(AlmostVersion)</a></div>
  574. </div>
  575. <span class="small pull-right mobile-hide">
  576. <span class="divider">|</span>
  577. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_Equals_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.Equals(System.Object)%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>
  578. </span>
  579. <span class="small pull-right mobile-hide">
  580. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L199">View Source</a>
  581. </span>
  582. <a id="IPA_Utilities_AlmostVersion_Equals_" data-uid="IPA.Utilities.AlmostVersion.Equals*"></a>
  583. <h4 id="IPA_Utilities_AlmostVersion_Equals_System_Object_" data-uid="IPA.Utilities.AlmostVersion.Equals(System.Object)">Equals(Object)</h4>
  584. <div class="markdown level1 summary"><p>Performs a strict equality check between <span class="xref">langword_csharp_this</span> and <code data-dev-comment-type="paramref" class="paramref">obj</code>.</p>
  585. </div>
  586. <div class="markdown level1 conceptual"></div>
  587. <h5 class="decalaration">Declaration</h5>
  588. <div class="codewrapper">
  589. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  590. </div>
  591. <h5 class="parameters">Parameters</h5>
  592. <table class="table table-bordered table-striped table-condensed">
  593. <thead>
  594. <tr>
  595. <th>Type</th>
  596. <th>Name</th>
  597. <th>Description</th>
  598. </tr>
  599. </thead>
  600. <tbody>
  601. <tr>
  602. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></td>
  603. <td><span class="parametername">obj</span></td>
  604. <td><p>the object to compare to</p>
  605. </td>
  606. </tr>
  607. </tbody>
  608. </table>
  609. <h5 class="returns">Returns</h5>
  610. <table class="table table-bordered table-striped table-condensed">
  611. <thead>
  612. <tr>
  613. <th>Type</th>
  614. <th>Description</th>
  615. </tr>
  616. </thead>
  617. <tbody>
  618. <tr>
  619. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  620. <td><p><span class="xref">true</span> if they are equal, <span class="xref">false</span> otherwise</p>
  621. </td>
  622. </tr>
  623. </tbody>
  624. </table>
  625. <h5 class="overrides">Overrides</h5>
  626. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a></div>
  627. <h5 id="IPA_Utilities_AlmostVersion_Equals_System_Object__remarks">Remarks</h5>
  628. <div class="markdown level1 remarks"><p>This may return <span class="xref">false</span> where <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_">Equality(AlmostVersion, AlmostVersion)</a> returns <span class="xref">true</span></p>
  629. </div>
  630. <h5 id="IPA_Utilities_AlmostVersion_Equals_System_Object__seealso">See Also</h5>
  631. <div class="seealso">
  632. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Equals</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a>)</div>
  633. </div>
  634. <span class="small pull-right mobile-hide">
  635. <span class="divider">|</span>
  636. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_GetHashCode.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.GetHashCode%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>
  637. </span>
  638. <span class="small pull-right mobile-hide">
  639. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L212">View Source</a>
  640. </span>
  641. <a id="IPA_Utilities_AlmostVersion_GetHashCode_" data-uid="IPA.Utilities.AlmostVersion.GetHashCode*"></a>
  642. <h4 id="IPA_Utilities_AlmostVersion_GetHashCode" data-uid="IPA.Utilities.AlmostVersion.GetHashCode">GetHashCode()</h4>
  643. <div class="markdown level1 summary"><p>Default generated hash code function generated by VS.</p>
  644. </div>
  645. <div class="markdown level1 conceptual"></div>
  646. <h5 class="decalaration">Declaration</h5>
  647. <div class="codewrapper">
  648. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  649. </div>
  650. <h5 class="returns">Returns</h5>
  651. <table class="table table-bordered table-striped table-condensed">
  652. <thead>
  653. <tr>
  654. <th>Type</th>
  655. <th>Description</th>
  656. </tr>
  657. </thead>
  658. <tbody>
  659. <tr>
  660. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">Int32</a></td>
  661. <td><p>a value unique to each object, except those that are considered equal by <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_Equals_System_Object_">Equals(Object)</a></p>
  662. </td>
  663. </tr>
  664. </tbody>
  665. </table>
  666. <h5 class="overrides">Overrides</h5>
  667. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a></div>
  668. <h5 id="IPA_Utilities_AlmostVersion_GetHashCode_seealso">See Also</h5>
  669. <div class="seealso">
  670. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">GetHashCode</a>()</div>
  671. </div>
  672. <span class="small pull-right mobile-hide">
  673. <span class="divider">|</span>
  674. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_ToString.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.ToString%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>
  675. </span>
  676. <span class="small pull-right mobile-hide">
  677. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L137">View Source</a>
  678. </span>
  679. <a id="IPA_Utilities_AlmostVersion_ToString_" data-uid="IPA.Utilities.AlmostVersion.ToString*"></a>
  680. <h4 id="IPA_Utilities_AlmostVersion_ToString" data-uid="IPA.Utilities.AlmostVersion.ToString">ToString()</h4>
  681. <div class="markdown level1 summary"><p>Gets a string representation of the current version. If the value is stored as a string, this returns it. If it is
  682. stored as a <span class="xref">Hive.Versioning.Version</span>, it is equivalent to calling <span class="xref">Hive.Versioning.Version.ToString</span>.</p>
  683. </div>
  684. <div class="markdown level1 conceptual"></div>
  685. <h5 class="decalaration">Declaration</h5>
  686. <div class="codewrapper">
  687. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  688. </div>
  689. <h5 class="returns">Returns</h5>
  690. <table class="table table-bordered table-striped table-condensed">
  691. <thead>
  692. <tr>
  693. <th>Type</th>
  694. <th>Description</th>
  695. </tr>
  696. </thead>
  697. <tbody>
  698. <tr>
  699. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  700. <td><p>a string representation of the current version</p>
  701. </td>
  702. </tr>
  703. </tbody>
  704. </table>
  705. <h5 class="overrides">Overrides</h5>
  706. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a></div>
  707. <h5 id="IPA_Utilities_AlmostVersion_ToString_seealso">See Also</h5>
  708. <div class="seealso">
  709. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">ToString</a>()</div>
  710. </div>
  711. <h3 id="operators">Operators
  712. </h3>
  713. <span class="small pull-right mobile-hide">
  714. <span class="divider">|</span>
  715. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Equality(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  716. </span>
  717. <span class="small pull-right mobile-hide">
  718. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L233">View Source</a>
  719. </span>
  720. <a id="IPA_Utilities_AlmostVersion_op_Equality_" data-uid="IPA.Utilities.AlmostVersion.op_Equality*"></a>
  721. <h4 id="IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_Equality(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">Equality(AlmostVersion, AlmostVersion)</h4>
  722. <div class="markdown level1 summary"><p>Compares two versions, only taking into account the numeric part of the version if they are stored as <span class="xref">Hive.Versioning.Version</span>s,
  723. or strict equality if they are stored as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>s.</p>
  724. </div>
  725. <div class="markdown level1 conceptual"></div>
  726. <h5 class="decalaration">Declaration</h5>
  727. <div class="codewrapper">
  728. <pre><code class="lang-csharp hljs">public static bool operator ==(AlmostVersion l, AlmostVersion r)</code></pre>
  729. </div>
  730. <h5 class="parameters">Parameters</h5>
  731. <table class="table table-bordered table-striped table-condensed">
  732. <thead>
  733. <tr>
  734. <th>Type</th>
  735. <th>Name</th>
  736. <th>Description</th>
  737. </tr>
  738. </thead>
  739. <tbody>
  740. <tr>
  741. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  742. <td><span class="parametername">l</span></td>
  743. <td><p>the first value to compare</p>
  744. </td>
  745. </tr>
  746. <tr>
  747. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  748. <td><span class="parametername">r</span></td>
  749. <td><p>the second value to compare</p>
  750. </td>
  751. </tr>
  752. </tbody>
  753. </table>
  754. <h5 class="returns">Returns</h5>
  755. <table class="table table-bordered table-striped table-condensed">
  756. <thead>
  757. <tr>
  758. <th>Type</th>
  759. <th>Description</th>
  760. </tr>
  761. </thead>
  762. <tbody>
  763. <tr>
  764. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  765. <td><p><span class="xref">true</span> if they are mostly equal, <span class="xref">false</span> otherwise</p>
  766. </td>
  767. </tr>
  768. </tbody>
  769. </table>
  770. <h5 id="IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion__remarks">Remarks</h5>
  771. <div class="markdown level1 remarks"><p>This is a looser equality than <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_Equals_System_Object_">Equals(Object)</a>, meaning that this may return <span class="xref">true</span> where <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_Equals_System_Object_">Equals(Object)</a>
  772. does not.</p>
  773. </div>
  774. <h5 id="IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion__seealso">See Also</h5>
  775. <div class="seealso">
  776. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_Equals_System_Object_">Equals(Object)</a></div>
  777. </div>
  778. <span class="small pull-right mobile-hide">
  779. <span class="divider">|</span>
  780. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_GreaterThan_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_GreaterThan(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  781. </span>
  782. <span class="small pull-right mobile-hide">
  783. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L296">View Source</a>
  784. </span>
  785. <a id="IPA_Utilities_AlmostVersion_op_GreaterThan_" data-uid="IPA.Utilities.AlmostVersion.op_GreaterThan*"></a>
  786. <h4 id="IPA_Utilities_AlmostVersion_op_GreaterThan_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_GreaterThan(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">GreaterThan(AlmostVersion, AlmostVersion)</h4>
  787. <div class="markdown level1 summary"></div>
  788. <div class="markdown level1 conceptual"></div>
  789. <h5 class="decalaration">Declaration</h5>
  790. <div class="codewrapper">
  791. <pre><code class="lang-csharp hljs">public static bool operator&gt;(AlmostVersion left, AlmostVersion right)</code></pre>
  792. </div>
  793. <h5 class="parameters">Parameters</h5>
  794. <table class="table table-bordered table-striped table-condensed">
  795. <thead>
  796. <tr>
  797. <th>Type</th>
  798. <th>Name</th>
  799. <th>Description</th>
  800. </tr>
  801. </thead>
  802. <tbody>
  803. <tr>
  804. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  805. <td><span class="parametername">left</span></td>
  806. <td></td>
  807. </tr>
  808. <tr>
  809. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  810. <td><span class="parametername">right</span></td>
  811. <td></td>
  812. </tr>
  813. </tbody>
  814. </table>
  815. <h5 class="returns">Returns</h5>
  816. <table class="table table-bordered table-striped table-condensed">
  817. <thead>
  818. <tr>
  819. <th>Type</th>
  820. <th>Description</th>
  821. </tr>
  822. </thead>
  823. <tbody>
  824. <tr>
  825. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  826. <td></td>
  827. </tr>
  828. </tbody>
  829. </table>
  830. <span class="small pull-right mobile-hide">
  831. <span class="divider">|</span>
  832. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_GreaterThanOrEqual_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_GreaterThanOrEqual(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  833. </span>
  834. <span class="small pull-right mobile-hide">
  835. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L299">View Source</a>
  836. </span>
  837. <a id="IPA_Utilities_AlmostVersion_op_GreaterThanOrEqual_" data-uid="IPA.Utilities.AlmostVersion.op_GreaterThanOrEqual*"></a>
  838. <h4 id="IPA_Utilities_AlmostVersion_op_GreaterThanOrEqual_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_GreaterThanOrEqual(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">GreaterThanOrEqual(AlmostVersion, AlmostVersion)</h4>
  839. <div class="markdown level1 summary"></div>
  840. <div class="markdown level1 conceptual"></div>
  841. <h5 class="decalaration">Declaration</h5>
  842. <div class="codewrapper">
  843. <pre><code class="lang-csharp hljs">public static bool operator &gt;=(AlmostVersion left, AlmostVersion right)</code></pre>
  844. </div>
  845. <h5 class="parameters">Parameters</h5>
  846. <table class="table table-bordered table-striped table-condensed">
  847. <thead>
  848. <tr>
  849. <th>Type</th>
  850. <th>Name</th>
  851. <th>Description</th>
  852. </tr>
  853. </thead>
  854. <tbody>
  855. <tr>
  856. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  857. <td><span class="parametername">left</span></td>
  858. <td></td>
  859. </tr>
  860. <tr>
  861. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  862. <td><span class="parametername">right</span></td>
  863. <td></td>
  864. </tr>
  865. </tbody>
  866. </table>
  867. <h5 class="returns">Returns</h5>
  868. <table class="table table-bordered table-striped table-condensed">
  869. <thead>
  870. <tr>
  871. <th>Type</th>
  872. <th>Description</th>
  873. </tr>
  874. </thead>
  875. <tbody>
  876. <tr>
  877. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  878. <td></td>
  879. </tr>
  880. </tbody>
  881. </table>
  882. <span class="small pull-right mobile-hide">
  883. <span class="divider">|</span>
  884. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Implicit_Hive_Versioning_Version__IPA_Utilities_AlmostVersion.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Implicit(Hive.Versioning.Version)~IPA.Utilities.AlmostVersion%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>
  885. </span>
  886. <span class="small pull-right mobile-hide">
  887. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L278">View Source</a>
  888. </span>
  889. <a id="IPA_Utilities_AlmostVersion_op_Implicit_" data-uid="IPA.Utilities.AlmostVersion.op_Implicit*"></a>
  890. <h4 id="IPA_Utilities_AlmostVersion_op_Implicit_Hive_Versioning_Version__IPA_Utilities_AlmostVersion" data-uid="IPA.Utilities.AlmostVersion.op_Implicit(Hive.Versioning.Version)~IPA.Utilities.AlmostVersion">Implicit(Version to AlmostVersion)</h4>
  891. <div class="markdown level1 summary"><p>Implicitly converts a <a class="xref" href="SemVer.Version.html">Version</a> to <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> using <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion__ctor_SemVer_Version_">AlmostVersion(Version)</a>.</p>
  892. </div>
  893. <div class="markdown level1 conceptual"></div>
  894. <h5 class="decalaration">Declaration</h5>
  895. <div class="codewrapper">
  896. <pre><code class="lang-csharp hljs">public static implicit operator AlmostVersion(Version ver)</code></pre>
  897. </div>
  898. <h5 class="parameters">Parameters</h5>
  899. <table class="table table-bordered table-striped table-condensed">
  900. <thead>
  901. <tr>
  902. <th>Type</th>
  903. <th>Name</th>
  904. <th>Description</th>
  905. </tr>
  906. </thead>
  907. <tbody>
  908. <tr>
  909. <td><span class="xref">Hive.Versioning.Version</span></td>
  910. <td><span class="parametername">ver</span></td>
  911. <td><p>the <a class="xref" href="SemVer.Version.html">Version</a> to convert</p>
  912. </td>
  913. </tr>
  914. </tbody>
  915. </table>
  916. <h5 class="returns">Returns</h5>
  917. <table class="table table-bordered table-striped table-condensed">
  918. <thead>
  919. <tr>
  920. <th>Type</th>
  921. <th>Description</th>
  922. </tr>
  923. </thead>
  924. <tbody>
  925. <tr>
  926. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  927. <td></td>
  928. </tr>
  929. </tbody>
  930. </table>
  931. <h5 id="IPA_Utilities_AlmostVersion_op_Implicit_Hive_Versioning_Version__IPA_Utilities_AlmostVersion_seealso">See Also</h5>
  932. <div class="seealso">
  933. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion__ctor_SemVer_Version_">AlmostVersion(Version)</a></div>
  934. </div>
  935. <span class="small pull-right mobile-hide">
  936. <span class="divider">|</span>
  937. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__Hive_Versioning_Version.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Implicit(IPA.Utilities.AlmostVersion)~Hive.Versioning.Version%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>
  938. </span>
  939. <span class="small pull-right mobile-hide">
  940. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L287">View Source</a>
  941. </span>
  942. <a id="IPA_Utilities_AlmostVersion_op_Implicit_" data-uid="IPA.Utilities.AlmostVersion.op_Implicit*"></a>
  943. <h4 id="IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__Hive_Versioning_Version" data-uid="IPA.Utilities.AlmostVersion.op_Implicit(IPA.Utilities.AlmostVersion)~Hive.Versioning.Version">Implicit(AlmostVersion to Version)</h4>
  944. <div class="markdown level1 summary"><p>Implicitly converts an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to <a class="xref" href="SemVer.Version.html">Version</a>, if applicable, using <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_SemverValue">SemverValue</a>.
  945. If not applicable, returns <span class="xref">null</span></p>
  946. </div>
  947. <div class="markdown level1 conceptual"></div>
  948. <h5 class="decalaration">Declaration</h5>
  949. <div class="codewrapper">
  950. <pre><code class="lang-csharp hljs">public static implicit operator Version(AlmostVersion av)</code></pre>
  951. </div>
  952. <h5 class="parameters">Parameters</h5>
  953. <table class="table table-bordered table-striped table-condensed">
  954. <thead>
  955. <tr>
  956. <th>Type</th>
  957. <th>Name</th>
  958. <th>Description</th>
  959. </tr>
  960. </thead>
  961. <tbody>
  962. <tr>
  963. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  964. <td><span class="parametername">av</span></td>
  965. <td><p>the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to convert to a <a class="xref" href="SemVer.Version.html">Version</a></p>
  966. </td>
  967. </tr>
  968. </tbody>
  969. </table>
  970. <h5 class="returns">Returns</h5>
  971. <table class="table table-bordered table-striped table-condensed">
  972. <thead>
  973. <tr>
  974. <th>Type</th>
  975. <th>Description</th>
  976. </tr>
  977. </thead>
  978. <tbody>
  979. <tr>
  980. <td><span class="xref">Hive.Versioning.Version</span></td>
  981. <td></td>
  982. </tr>
  983. </tbody>
  984. </table>
  985. <h5 id="IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__Hive_Versioning_Version_seealso">See Also</h5>
  986. <div class="seealso">
  987. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_SemverValue">SemverValue</a></div>
  988. </div>
  989. <span class="small pull-right mobile-hide">
  990. <span class="divider">|</span>
  991. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__SemVer_Version.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Implicit(IPA.Utilities.AlmostVersion)~SemVer.Version%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>
  992. </span>
  993. <span class="small pull-right mobile-hide">
  994. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L270">View Source</a>
  995. </span>
  996. <a id="IPA_Utilities_AlmostVersion_op_Implicit_" data-uid="IPA.Utilities.AlmostVersion.op_Implicit*"></a>
  997. <h4 id="IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__SemVer_Version" data-uid="IPA.Utilities.AlmostVersion.op_Implicit(IPA.Utilities.AlmostVersion)~SemVer.Version">Implicit(AlmostVersion to Version)</h4>
  998. <div class="markdown level1 summary"><p>Implicitly converts an <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to <a class="xref" href="SemVer.Version.html">Version</a>, if applicable, using <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_SemverValue">SemverValue</a>.
  999. If not applicable, returns <span class="xref">null</span></p>
  1000. </div>
  1001. <div class="markdown level1 conceptual"></div>
  1002. <h5 class="decalaration">Declaration</h5>
  1003. <div class="codewrapper">
  1004. <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use Hive.Versioning.Version instead of SemVer.Version&quot;)]
  1005. public static implicit operator Version(AlmostVersion av)</code></pre>
  1006. </div>
  1007. <h5 class="parameters">Parameters</h5>
  1008. <table class="table table-bordered table-striped table-condensed">
  1009. <thead>
  1010. <tr>
  1011. <th>Type</th>
  1012. <th>Name</th>
  1013. <th>Description</th>
  1014. </tr>
  1015. </thead>
  1016. <tbody>
  1017. <tr>
  1018. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1019. <td><span class="parametername">av</span></td>
  1020. <td><p>the <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> to convert to a <a class="xref" href="SemVer.Version.html">Version</a></p>
  1021. </td>
  1022. </tr>
  1023. </tbody>
  1024. </table>
  1025. <h5 class="returns">Returns</h5>
  1026. <table class="table table-bordered table-striped table-condensed">
  1027. <thead>
  1028. <tr>
  1029. <th>Type</th>
  1030. <th>Description</th>
  1031. </tr>
  1032. </thead>
  1033. <tbody>
  1034. <tr>
  1035. <td><a class="xref" href="SemVer.Version.html">Version</a></td>
  1036. <td></td>
  1037. </tr>
  1038. </tbody>
  1039. </table>
  1040. <h5 id="IPA_Utilities_AlmostVersion_op_Implicit_IPA_Utilities_AlmostVersion__SemVer_Version_seealso">See Also</h5>
  1041. <div class="seealso">
  1042. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_SemverValue">SemverValue</a></div>
  1043. </div>
  1044. <span class="small pull-right mobile-hide">
  1045. <span class="divider">|</span>
  1046. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Implicit_SemVer_Version__IPA_Utilities_AlmostVersion.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Implicit(SemVer.Version)~IPA.Utilities.AlmostVersion%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>
  1047. </span>
  1048. <span class="small pull-right mobile-hide">
  1049. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L260">View Source</a>
  1050. </span>
  1051. <a id="IPA_Utilities_AlmostVersion_op_Implicit_" data-uid="IPA.Utilities.AlmostVersion.op_Implicit*"></a>
  1052. <h4 id="IPA_Utilities_AlmostVersion_op_Implicit_SemVer_Version__IPA_Utilities_AlmostVersion" data-uid="IPA.Utilities.AlmostVersion.op_Implicit(SemVer.Version)~IPA.Utilities.AlmostVersion">Implicit(Version to AlmostVersion)</h4>
  1053. <div class="markdown level1 summary"><p>Implicitly converts a <a class="xref" href="SemVer.Version.html">Version</a> to <a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a> using <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion__ctor_SemVer_Version_">AlmostVersion(Version)</a>.</p>
  1054. </div>
  1055. <div class="markdown level1 conceptual"></div>
  1056. <h5 class="decalaration">Declaration</h5>
  1057. <div class="codewrapper">
  1058. <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use Hive.Versioning.Version instead of SemVer.Version&quot;)]
  1059. public static implicit operator AlmostVersion(Version ver)</code></pre>
  1060. </div>
  1061. <h5 class="parameters">Parameters</h5>
  1062. <table class="table table-bordered table-striped table-condensed">
  1063. <thead>
  1064. <tr>
  1065. <th>Type</th>
  1066. <th>Name</th>
  1067. <th>Description</th>
  1068. </tr>
  1069. </thead>
  1070. <tbody>
  1071. <tr>
  1072. <td><a class="xref" href="SemVer.Version.html">Version</a></td>
  1073. <td><span class="parametername">ver</span></td>
  1074. <td><p>the <a class="xref" href="SemVer.Version.html">Version</a> to convert</p>
  1075. </td>
  1076. </tr>
  1077. </tbody>
  1078. </table>
  1079. <h5 class="returns">Returns</h5>
  1080. <table class="table table-bordered table-striped table-condensed">
  1081. <thead>
  1082. <tr>
  1083. <th>Type</th>
  1084. <th>Description</th>
  1085. </tr>
  1086. </thead>
  1087. <tbody>
  1088. <tr>
  1089. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1090. <td></td>
  1091. </tr>
  1092. </tbody>
  1093. </table>
  1094. <h5 id="IPA_Utilities_AlmostVersion_op_Implicit_SemVer_Version__IPA_Utilities_AlmostVersion_seealso">See Also</h5>
  1095. <div class="seealso">
  1096. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion__ctor_SemVer_Version_">AlmostVersion(Version)</a></div>
  1097. </div>
  1098. <span class="small pull-right mobile-hide">
  1099. <span class="divider">|</span>
  1100. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_Inequality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_Inequality(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  1101. </span>
  1102. <span class="small pull-right mobile-hide">
  1103. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L250">View Source</a>
  1104. </span>
  1105. <a id="IPA_Utilities_AlmostVersion_op_Inequality_" data-uid="IPA.Utilities.AlmostVersion.op_Inequality*"></a>
  1106. <h4 id="IPA_Utilities_AlmostVersion_op_Inequality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_Inequality(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">Inequality(AlmostVersion, AlmostVersion)</h4>
  1107. <div class="markdown level1 summary"><p>The opposite of <a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_">Equality(AlmostVersion, AlmostVersion)</a>. Equivalent to <code>!(l == r)</code>.</p>
  1108. </div>
  1109. <div class="markdown level1 conceptual"></div>
  1110. <h5 class="decalaration">Declaration</h5>
  1111. <div class="codewrapper">
  1112. <pre><code class="lang-csharp hljs">public static bool operator !=(AlmostVersion l, AlmostVersion r)</code></pre>
  1113. </div>
  1114. <h5 class="parameters">Parameters</h5>
  1115. <table class="table table-bordered table-striped table-condensed">
  1116. <thead>
  1117. <tr>
  1118. <th>Type</th>
  1119. <th>Name</th>
  1120. <th>Description</th>
  1121. </tr>
  1122. </thead>
  1123. <tbody>
  1124. <tr>
  1125. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1126. <td><span class="parametername">l</span></td>
  1127. <td><p>the first value to compare</p>
  1128. </td>
  1129. </tr>
  1130. <tr>
  1131. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1132. <td><span class="parametername">r</span></td>
  1133. <td><p>the second value to compare</p>
  1134. </td>
  1135. </tr>
  1136. </tbody>
  1137. </table>
  1138. <h5 class="returns">Returns</h5>
  1139. <table class="table table-bordered table-striped table-condensed">
  1140. <thead>
  1141. <tr>
  1142. <th>Type</th>
  1143. <th>Description</th>
  1144. </tr>
  1145. </thead>
  1146. <tbody>
  1147. <tr>
  1148. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  1149. <td><p><span class="xref">true</span> if they are not mostly equal, <span class="xref">false</span> otherwise</p>
  1150. </td>
  1151. </tr>
  1152. </tbody>
  1153. </table>
  1154. <h5 id="IPA_Utilities_AlmostVersion_op_Inequality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion__seealso">See Also</h5>
  1155. <div class="seealso">
  1156. <div><a class="xref" href="IPA.Utilities.AlmostVersion.html#IPA_Utilities_AlmostVersion_op_Equality_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_">Equality(AlmostVersion, AlmostVersion)</a></div>
  1157. </div>
  1158. <span class="small pull-right mobile-hide">
  1159. <span class="divider">|</span>
  1160. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_LessThan_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_LessThan(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  1161. </span>
  1162. <span class="small pull-right mobile-hide">
  1163. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L290">View Source</a>
  1164. </span>
  1165. <a id="IPA_Utilities_AlmostVersion_op_LessThan_" data-uid="IPA.Utilities.AlmostVersion.op_LessThan*"></a>
  1166. <h4 id="IPA_Utilities_AlmostVersion_op_LessThan_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_LessThan(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">LessThan(AlmostVersion, AlmostVersion)</h4>
  1167. <div class="markdown level1 summary"></div>
  1168. <div class="markdown level1 conceptual"></div>
  1169. <h5 class="decalaration">Declaration</h5>
  1170. <div class="codewrapper">
  1171. <pre><code class="lang-csharp hljs">public static bool operator &lt;(AlmostVersion left, AlmostVersion right)</code></pre>
  1172. </div>
  1173. <h5 class="parameters">Parameters</h5>
  1174. <table class="table table-bordered table-striped table-condensed">
  1175. <thead>
  1176. <tr>
  1177. <th>Type</th>
  1178. <th>Name</th>
  1179. <th>Description</th>
  1180. </tr>
  1181. </thead>
  1182. <tbody>
  1183. <tr>
  1184. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1185. <td><span class="parametername">left</span></td>
  1186. <td></td>
  1187. </tr>
  1188. <tr>
  1189. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1190. <td><span class="parametername">right</span></td>
  1191. <td></td>
  1192. </tr>
  1193. </tbody>
  1194. </table>
  1195. <h5 class="returns">Returns</h5>
  1196. <table class="table table-bordered table-striped table-condensed">
  1197. <thead>
  1198. <tr>
  1199. <th>Type</th>
  1200. <th>Description</th>
  1201. </tr>
  1202. </thead>
  1203. <tbody>
  1204. <tr>
  1205. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  1206. <td></td>
  1207. </tr>
  1208. </tbody>
  1209. </table>
  1210. <span class="small pull-right mobile-hide">
  1211. <span class="divider">|</span>
  1212. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion_op_LessThanOrEqual_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion.op_LessThanOrEqual(IPA.Utilities.AlmostVersion%2CIPA.Utilities.AlmostVersion)%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>
  1213. </span>
  1214. <span class="small pull-right mobile-hide">
  1215. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L293">View Source</a>
  1216. </span>
  1217. <a id="IPA_Utilities_AlmostVersion_op_LessThanOrEqual_" data-uid="IPA.Utilities.AlmostVersion.op_LessThanOrEqual*"></a>
  1218. <h4 id="IPA_Utilities_AlmostVersion_op_LessThanOrEqual_IPA_Utilities_AlmostVersion_IPA_Utilities_AlmostVersion_" data-uid="IPA.Utilities.AlmostVersion.op_LessThanOrEqual(IPA.Utilities.AlmostVersion,IPA.Utilities.AlmostVersion)">LessThanOrEqual(AlmostVersion, AlmostVersion)</h4>
  1219. <div class="markdown level1 summary"></div>
  1220. <div class="markdown level1 conceptual"></div>
  1221. <h5 class="decalaration">Declaration</h5>
  1222. <div class="codewrapper">
  1223. <pre><code class="lang-csharp hljs">public static bool operator &lt;=(AlmostVersion left, AlmostVersion right)</code></pre>
  1224. </div>
  1225. <h5 class="parameters">Parameters</h5>
  1226. <table class="table table-bordered table-striped table-condensed">
  1227. <thead>
  1228. <tr>
  1229. <th>Type</th>
  1230. <th>Name</th>
  1231. <th>Description</th>
  1232. </tr>
  1233. </thead>
  1234. <tbody>
  1235. <tr>
  1236. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1237. <td><span class="parametername">left</span></td>
  1238. <td></td>
  1239. </tr>
  1240. <tr>
  1241. <td><a class="xref" href="IPA.Utilities.AlmostVersion.html">AlmostVersion</a></td>
  1242. <td><span class="parametername">right</span></td>
  1243. <td></td>
  1244. </tr>
  1245. </tbody>
  1246. </table>
  1247. <h5 class="returns">Returns</h5>
  1248. <table class="table table-bordered table-striped table-condensed">
  1249. <thead>
  1250. <tr>
  1251. <th>Type</th>
  1252. <th>Description</th>
  1253. </tr>
  1254. </thead>
  1255. <tbody>
  1256. <tr>
  1257. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  1258. <td></td>
  1259. </tr>
  1260. </tbody>
  1261. </table>
  1262. <h3 id="implements">Implements</h3>
  1263. <div>
  1264. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">System.IComparable&lt;T&gt;</a>
  1265. </div>
  1266. <div>
  1267. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">System.IComparable&lt;T&gt;</a>
  1268. </div>
  1269. <div>
  1270. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">System.IComparable&lt;T&gt;</a>
  1271. </div>
  1272. <h3 id="extensionmethods">Extension Methods</h3>
  1273. <div>
  1274. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetField__2___0_System_String___1_">ReflectionUtil.SetField&lt;T, U&gt;(T, String, U)</a>
  1275. </div>
  1276. <div>
  1277. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetField__2___1_System_String_">ReflectionUtil.GetField&lt;U, T&gt;(T, String)</a>
  1278. </div>
  1279. <div>
  1280. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetProperty__2___0_System_String___1_">ReflectionUtil.SetProperty&lt;T, U&gt;(T, String, U)</a>
  1281. </div>
  1282. <div>
  1283. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetProperty__2___1_System_String_">ReflectionUtil.GetProperty&lt;U, T&gt;(T, String)</a>
  1284. </div>
  1285. <div>
  1286. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod__2___1_System_String_System_Object___">ReflectionUtil.InvokeMethod&lt;U, T&gt;(T, String, Object[])</a>
  1287. </div>
  1288. </article>
  1289. </div>
  1290. <div class="hidden-sm col-md-2" role="complementary">
  1291. <div class="sideaffix">
  1292. <div class="contribution">
  1293. <ul class="nav">
  1294. <li>
  1295. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Utilities_AlmostVersion.md&amp;value=---%0Auid%3A%20IPA.Utilities.AlmostVersion%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>
  1296. </li>
  1297. <li>
  1298. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/145879a186f99170142886b7ed04f5660fada830/IPA.Loader/Utilities/AlmostVersion.cs/#L16" class="contribution-link">View Source</a>
  1299. </li>
  1300. </ul>
  1301. </div>
  1302. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1303. <h5>In This Article</h5>
  1304. <div></div>
  1305. </nav>
  1306. </div>
  1307. </div>
  1308. </div>
  1309. </div>
  1310. <footer>
  1311. <div class="grad-bottom"></div>
  1312. <div class="footer">
  1313. <div class="container">
  1314. <span class="pull-right">
  1315. <a href="#top">Back to top</a>
  1316. </span>
  1317. <span>Generated by <strong>DocFX</strong></span>
  1318. </div>
  1319. </div>
  1320. </footer>
  1321. </div>
  1322. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  1323. <script type="text/javascript" src="../styles/docfx.js"></script>
  1324. <script type="text/javascript" src="../styles/main.js"></script>
  1325. </body>
  1326. </html>