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.

428 lines
19 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class File
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class File
  11. ">
  12. <meta name="generator" content="docfx 2.43.3.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  18. <meta property="docfx:navrel" content="../toc.html">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. <meta property="docfx:rel" content="../">
  21. <meta property="docfx:newtab" content="true">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../index.html">
  35. <img id="logo" class="svg" src="../logo.svg" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list"></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Net3_Proxy.File">
  74. <h1 id="Net3_Proxy_File" data-uid="Net3_Proxy.File" class="text-break">Class File
  75. </h1>
  76. <div class="markdown level0 summary"></div>
  77. <div class="markdown level0 conceptual"></div>
  78. <div class="inheritance">
  79. <h5>Inheritance</h5>
  80. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  81. <div class="level1"><span class="xref">File</span></div>
  82. </div>
  83. <div class="inheritedMembers">
  84. <h5>Inherited Members</h5>
  85. <div>
  86. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
  87. </div>
  88. <div>
  89. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
  90. </div>
  91. <div>
  92. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_System_Object_">Object.Equals(Object, Object)</a>
  93. </div>
  94. <div>
  95. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#System_Object_ReferenceEquals_System_Object_System_Object_">Object.ReferenceEquals(Object, Object)</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="https://docs.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="Net3_Proxy.html">Net3_Proxy</a></h6>
  108. <h6><strong>Assembly</strong>: Net3-Proxy.dll</h6>
  109. <h5 id="Net3_Proxy_File_syntax">Syntax</h5>
  110. <div class="codewrapper">
  111. <pre><code class="lang-csharp hljs">public static class File</code></pre>
  112. </div>
  113. <h3 id="methods">Methods
  114. </h3>
  115. <span class="small pull-right mobile-hide">
  116. <span class="divider">|</span>
  117. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File_AppendAllLines_System_String_System_Collections_Generic_IEnumerable_System_String__.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.AppendAllLines(System.String%2CSystem.Collections.Generic.IEnumerable%7BSystem.String%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>
  118. </span>
  119. <span class="small pull-right mobile-hide">
  120. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L16">View Source</a>
  121. </span>
  122. <a id="Net3_Proxy_File_AppendAllLines_" data-uid="Net3_Proxy.File.AppendAllLines*"></a>
  123. <h4 id="Net3_Proxy_File_AppendAllLines_System_String_System_Collections_Generic_IEnumerable_System_String__" data-uid="Net3_Proxy.File.AppendAllLines(System.String,System.Collections.Generic.IEnumerable{System.String})">AppendAllLines(String, IEnumerable&lt;String&gt;)</h4>
  124. <div class="markdown level1 summary"></div>
  125. <div class="markdown level1 conceptual"></div>
  126. <h5 class="decalaration">Declaration</h5>
  127. <div class="codewrapper">
  128. <pre><code class="lang-csharp hljs">public static void AppendAllLines(string path, IEnumerable&lt;string&gt; contents)</code></pre>
  129. </div>
  130. <h5 class="parameters">Parameters</h5>
  131. <table class="table table-bordered table-striped table-condensed">
  132. <thead>
  133. <tr>
  134. <th>Type</th>
  135. <th>Name</th>
  136. <th>Description</th>
  137. </tr>
  138. </thead>
  139. <tbody>
  140. <tr>
  141. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  142. <td><span class="parametername">path</span></td>
  143. <td></td>
  144. </tr>
  145. <tr>
  146. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a>&gt;</td>
  147. <td><span class="parametername">contents</span></td>
  148. <td></td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <span class="small pull-right mobile-hide">
  153. <span class="divider">|</span>
  154. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File_Delete_System_String_.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.Delete(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>
  155. </span>
  156. <span class="small pull-right mobile-hide">
  157. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L15">View Source</a>
  158. </span>
  159. <a id="Net3_Proxy_File_Delete_" data-uid="Net3_Proxy.File.Delete*"></a>
  160. <h4 id="Net3_Proxy_File_Delete_System_String_" data-uid="Net3_Proxy.File.Delete(System.String)">Delete(String)</h4>
  161. <div class="markdown level1 summary"></div>
  162. <div class="markdown level1 conceptual"></div>
  163. <h5 class="decalaration">Declaration</h5>
  164. <div class="codewrapper">
  165. <pre><code class="lang-csharp hljs">public static void Delete(string fn)</code></pre>
  166. </div>
  167. <h5 class="parameters">Parameters</h5>
  168. <table class="table table-bordered table-striped table-condensed">
  169. <thead>
  170. <tr>
  171. <th>Type</th>
  172. <th>Name</th>
  173. <th>Description</th>
  174. </tr>
  175. </thead>
  176. <tbody>
  177. <tr>
  178. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  179. <td><span class="parametername">fn</span></td>
  180. <td></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/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File_Exists_System_String_.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.Exists(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/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L14">View Source</a>
  190. </span>
  191. <a id="Net3_Proxy_File_Exists_" data-uid="Net3_Proxy.File.Exists*"></a>
  192. <h4 id="Net3_Proxy_File_Exists_System_String_" data-uid="Net3_Proxy.File.Exists(System.String)">Exists(String)</h4>
  193. <div class="markdown level1 summary"></div>
  194. <div class="markdown level1 conceptual"></div>
  195. <h5 class="decalaration">Declaration</h5>
  196. <div class="codewrapper">
  197. <pre><code class="lang-csharp hljs">public static bool Exists(string fn)</code></pre>
  198. </div>
  199. <h5 class="parameters">Parameters</h5>
  200. <table class="table table-bordered table-striped table-condensed">
  201. <thead>
  202. <tr>
  203. <th>Type</th>
  204. <th>Name</th>
  205. <th>Description</th>
  206. </tr>
  207. </thead>
  208. <tbody>
  209. <tr>
  210. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  211. <td><span class="parametername">fn</span></td>
  212. <td></td>
  213. </tr>
  214. </tbody>
  215. </table>
  216. <h5 class="returns">Returns</h5>
  217. <table class="table table-bordered table-striped table-condensed">
  218. <thead>
  219. <tr>
  220. <th>Type</th>
  221. <th>Description</th>
  222. </tr>
  223. </thead>
  224. <tbody>
  225. <tr>
  226. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  227. <td></td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <span class="small pull-right mobile-hide">
  232. <span class="divider">|</span>
  233. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File_ReadAllLines_System_String_.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.ReadAllLines(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>
  234. </span>
  235. <span class="small pull-right mobile-hide">
  236. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L25">View Source</a>
  237. </span>
  238. <a id="Net3_Proxy_File_ReadAllLines_" data-uid="Net3_Proxy.File.ReadAllLines*"></a>
  239. <h4 id="Net3_Proxy_File_ReadAllLines_System_String_" data-uid="Net3_Proxy.File.ReadAllLines(System.String)">ReadAllLines(String)</h4>
  240. <div class="markdown level1 summary"></div>
  241. <div class="markdown level1 conceptual"></div>
  242. <h5 class="decalaration">Declaration</h5>
  243. <div class="codewrapper">
  244. <pre><code class="lang-csharp hljs">public static string[] ReadAllLines(string p)</code></pre>
  245. </div>
  246. <h5 class="parameters">Parameters</h5>
  247. <table class="table table-bordered table-striped table-condensed">
  248. <thead>
  249. <tr>
  250. <th>Type</th>
  251. <th>Name</th>
  252. <th>Description</th>
  253. </tr>
  254. </thead>
  255. <tbody>
  256. <tr>
  257. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  258. <td><span class="parametername">p</span></td>
  259. <td></td>
  260. </tr>
  261. </tbody>
  262. </table>
  263. <h5 class="returns">Returns</h5>
  264. <table class="table table-bordered table-striped table-condensed">
  265. <thead>
  266. <tr>
  267. <th>Type</th>
  268. <th>Description</th>
  269. </tr>
  270. </thead>
  271. <tbody>
  272. <tr>
  273. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a>[]</td>
  274. <td></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/docs/override/new?filename=Net3_Proxy_File_ReadAllText_System_String_.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.ReadAllText(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>
  281. </span>
  282. <span class="small pull-right mobile-hide">
  283. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L12">View Source</a>
  284. </span>
  285. <a id="Net3_Proxy_File_ReadAllText_" data-uid="Net3_Proxy.File.ReadAllText*"></a>
  286. <h4 id="Net3_Proxy_File_ReadAllText_System_String_" data-uid="Net3_Proxy.File.ReadAllText(System.String)">ReadAllText(String)</h4>
  287. <div class="markdown level1 summary"></div>
  288. <div class="markdown level1 conceptual"></div>
  289. <h5 class="decalaration">Declaration</h5>
  290. <div class="codewrapper">
  291. <pre><code class="lang-csharp hljs">public static string ReadAllText(string fn)</code></pre>
  292. </div>
  293. <h5 class="parameters">Parameters</h5>
  294. <table class="table table-bordered table-striped table-condensed">
  295. <thead>
  296. <tr>
  297. <th>Type</th>
  298. <th>Name</th>
  299. <th>Description</th>
  300. </tr>
  301. </thead>
  302. <tbody>
  303. <tr>
  304. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  305. <td><span class="parametername">fn</span></td>
  306. <td></td>
  307. </tr>
  308. </tbody>
  309. </table>
  310. <h5 class="returns">Returns</h5>
  311. <table class="table table-bordered table-striped table-condensed">
  312. <thead>
  313. <tr>
  314. <th>Type</th>
  315. <th>Description</th>
  316. </tr>
  317. </thead>
  318. <tbody>
  319. <tr>
  320. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  321. <td></td>
  322. </tr>
  323. </tbody>
  324. </table>
  325. <span class="small pull-right mobile-hide">
  326. <span class="divider">|</span>
  327. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File_ReadAllText_System_String_System_Text_Encoding_.md&amp;value=---%0Auid%3A%20Net3_Proxy.File.ReadAllText(System.String%2CSystem.Text.Encoding)%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>
  328. </span>
  329. <span class="small pull-right mobile-hide">
  330. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L13">View Source</a>
  331. </span>
  332. <a id="Net3_Proxy_File_ReadAllText_" data-uid="Net3_Proxy.File.ReadAllText*"></a>
  333. <h4 id="Net3_Proxy_File_ReadAllText_System_String_System_Text_Encoding_" data-uid="Net3_Proxy.File.ReadAllText(System.String,System.Text.Encoding)">ReadAllText(String, Encoding)</h4>
  334. <div class="markdown level1 summary"></div>
  335. <div class="markdown level1 conceptual"></div>
  336. <h5 class="decalaration">Declaration</h5>
  337. <div class="codewrapper">
  338. <pre><code class="lang-csharp hljs">public static string ReadAllText(string fn, Encoding enc)</code></pre>
  339. </div>
  340. <h5 class="parameters">Parameters</h5>
  341. <table class="table table-bordered table-striped table-condensed">
  342. <thead>
  343. <tr>
  344. <th>Type</th>
  345. <th>Name</th>
  346. <th>Description</th>
  347. </tr>
  348. </thead>
  349. <tbody>
  350. <tr>
  351. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  352. <td><span class="parametername">fn</span></td>
  353. <td></td>
  354. </tr>
  355. <tr>
  356. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.text.encoding">Encoding</a></td>
  357. <td><span class="parametername">enc</span></td>
  358. <td></td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. <h5 class="returns">Returns</h5>
  363. <table class="table table-bordered table-striped table-condensed">
  364. <thead>
  365. <tr>
  366. <th>Type</th>
  367. <th>Description</th>
  368. </tr>
  369. </thead>
  370. <tbody>
  371. <tr>
  372. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  373. <td></td>
  374. </tr>
  375. </tbody>
  376. </table>
  377. </article>
  378. </div>
  379. <div class="hidden-sm col-md-2" role="complementary">
  380. <div class="sideaffix">
  381. <div class="contribution">
  382. <ul class="nav">
  383. <li>
  384. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=Net3_Proxy_File.md&amp;value=---%0Auid%3A%20Net3_Proxy.File%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>
  385. </li>
  386. <li>
  387. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/b7fac8944daba8c332dfe532fa853766168f6892/Net3-Proxy/File.cs/#L10" class="contribution-link">View Source</a>
  388. </li>
  389. </ul>
  390. </div>
  391. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  392. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  393. </nav>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. <footer>
  399. <div class="grad-bottom"></div>
  400. <div class="footer">
  401. <div class="container">
  402. <span class="pull-right">
  403. <a href="#top">Back to top</a>
  404. </span>
  405. <span>Generated by <strong>DocFX</strong></span>
  406. </div>
  407. </div>
  408. </footer>
  409. </div>
  410. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  411. <script type="text/javascript" src="../styles/docfx.js"></script>
  412. <script type="text/javascript" src="../styles/main.js"></script>
  413. </body>
  414. </html>