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.

748 lines
41 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 StateTransitionTransaction
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class StateTransitionTransaction
  11. ">
  12. <meta name="generator" content="docfx 2.59.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 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.Loader.StateTransitionTransaction">
  75. <h1 id="IPA_Loader_StateTransitionTransaction" data-uid="IPA.Loader.StateTransitionTransaction" class="text-break">Class StateTransitionTransaction
  76. </h1>
  77. <div class="markdown level0 summary"><p>A class to represent a transaction for changing the state of loaded mods.</p>
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  83. <div class="level1"><span class="xref">StateTransitionTransaction</span></div>
  84. </div>
  85. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Loader.html">IPA.Loader</a></h6>
  86. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  87. <h5 id="IPA_Loader_StateTransitionTransaction_syntax">Syntax</h5>
  88. <div class="codewrapper">
  89. <pre><code class="lang-csharp hljs">public sealed class StateTransitionTransaction : IDisposable</code></pre>
  90. </div>
  91. <h3 id="properties">Properties
  92. </h3>
  93. <span class="small pull-right mobile-hide">
  94. <span class="divider">|</span>
  95. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_DisabledPlugins.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.DisabledPlugins%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>
  96. </span>
  97. <span class="small pull-right mobile-hide">
  98. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L58">View Source</a>
  99. </span>
  100. <a id="IPA_Loader_StateTransitionTransaction_DisabledPlugins_" data-uid="IPA.Loader.StateTransitionTransaction.DisabledPlugins*"></a>
  101. <h4 id="IPA_Loader_StateTransitionTransaction_DisabledPlugins" data-uid="IPA.Loader.StateTransitionTransaction.DisabledPlugins">DisabledPlugins</h4>
  102. <div class="markdown level1 summary"><p>Gets a list of plugins that are disabled according to this transaction&apos;s current state.</p>
  103. </div>
  104. <div class="markdown level1 conceptual"></div>
  105. <h5 class="decalaration">Declaration</h5>
  106. <div class="codewrapper">
  107. <pre><code class="lang-csharp hljs">public IEnumerable&lt;PluginMetadata&gt; DisabledPlugins { get; }</code></pre>
  108. </div>
  109. <h5 class="propertyValue">Property Value</h5>
  110. <table class="table table-bordered table-striped table-condensed">
  111. <thead>
  112. <tr>
  113. <th>Type</th>
  114. <th>Description</th>
  115. </tr>
  116. </thead>
  117. <tbody>
  118. <tr>
  119. <td><span class="xref">IEnumerable</span>&lt;<a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a>&gt;</td>
  120. <td></td>
  121. </tr>
  122. </tbody>
  123. </table>
  124. <span class="small pull-right mobile-hide">
  125. <span class="divider">|</span>
  126. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_EnabledPlugins.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.EnabledPlugins%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>
  127. </span>
  128. <span class="small pull-right mobile-hide">
  129. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L51">View Source</a>
  130. </span>
  131. <a id="IPA_Loader_StateTransitionTransaction_EnabledPlugins_" data-uid="IPA.Loader.StateTransitionTransaction.EnabledPlugins*"></a>
  132. <h4 id="IPA_Loader_StateTransitionTransaction_EnabledPlugins" data-uid="IPA.Loader.StateTransitionTransaction.EnabledPlugins">EnabledPlugins</h4>
  133. <div class="markdown level1 summary"><p>Gets a list of plugins that are enabled according to this transaction&apos;s current state.</p>
  134. </div>
  135. <div class="markdown level1 conceptual"></div>
  136. <h5 class="decalaration">Declaration</h5>
  137. <div class="codewrapper">
  138. <pre><code class="lang-csharp hljs">public IEnumerable&lt;PluginMetadata&gt; EnabledPlugins { get; }</code></pre>
  139. </div>
  140. <h5 class="propertyValue">Property Value</h5>
  141. <table class="table table-bordered table-striped table-condensed">
  142. <thead>
  143. <tr>
  144. <th>Type</th>
  145. <th>Description</th>
  146. </tr>
  147. </thead>
  148. <tbody>
  149. <tr>
  150. <td><span class="xref">IEnumerable</span>&lt;<a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a>&gt;</td>
  151. <td></td>
  152. </tr>
  153. </tbody>
  154. </table>
  155. <span class="small pull-right mobile-hide">
  156. <span class="divider">|</span>
  157. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_HasStateChanged.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.HasStateChanged%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>
  158. </span>
  159. <span class="small pull-right mobile-hide">
  160. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L40">View Source</a>
  161. </span>
  162. <a id="IPA_Loader_StateTransitionTransaction_HasStateChanged_" data-uid="IPA.Loader.StateTransitionTransaction.HasStateChanged*"></a>
  163. <h4 id="IPA_Loader_StateTransitionTransaction_HasStateChanged" data-uid="IPA.Loader.StateTransitionTransaction.HasStateChanged">HasStateChanged</h4>
  164. <div class="markdown level1 summary"><p>Gets whether or not the current state has changed.</p>
  165. </div>
  166. <div class="markdown level1 conceptual"></div>
  167. <h5 class="decalaration">Declaration</h5>
  168. <div class="codewrapper">
  169. <pre><code class="lang-csharp hljs">public bool HasStateChanged { get; }</code></pre>
  170. </div>
  171. <h5 class="propertyValue">Property Value</h5>
  172. <table class="table table-bordered table-striped table-condensed">
  173. <thead>
  174. <tr>
  175. <th>Type</th>
  176. <th>Description</th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <tr>
  181. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  182. <td><p><span class="xref">true</span> if the current state of the transaction is different from its construction, <span class="xref">false</span> otherwise</p>
  183. </td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. <span class="small pull-right mobile-hide">
  188. <span class="divider">|</span>
  189. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_WillNeedRestart.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.WillNeedRestart%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>
  190. </span>
  191. <span class="small pull-right mobile-hide">
  192. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L31">View Source</a>
  193. </span>
  194. <a id="IPA_Loader_StateTransitionTransaction_WillNeedRestart_" data-uid="IPA.Loader.StateTransitionTransaction.WillNeedRestart*"></a>
  195. <h4 id="IPA_Loader_StateTransitionTransaction_WillNeedRestart" data-uid="IPA.Loader.StateTransitionTransaction.WillNeedRestart">WillNeedRestart</h4>
  196. <div class="markdown level1 summary"><p>Gets whether or not a game restart will be necessary to fully apply this transaction.</p>
  197. </div>
  198. <div class="markdown level1 conceptual"></div>
  199. <h5 class="decalaration">Declaration</h5>
  200. <div class="codewrapper">
  201. <pre><code class="lang-csharp hljs">public bool WillNeedRestart { get; }</code></pre>
  202. </div>
  203. <h5 class="propertyValue">Property Value</h5>
  204. <table class="table table-bordered table-striped table-condensed">
  205. <thead>
  206. <tr>
  207. <th>Type</th>
  208. <th>Description</th>
  209. </tr>
  210. </thead>
  211. <tbody>
  212. <tr>
  213. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  214. <td><p><span class="xref">true</span> if any mod who&apos;s state is changed cannot be changed at runtime, <span class="xref">false</span> otherwise</p>
  215. </td>
  216. </tr>
  217. </tbody>
  218. </table>
  219. <h3 id="methods">Methods
  220. </h3>
  221. <span class="small pull-right mobile-hide">
  222. <span class="divider">|</span>
  223. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Clone.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Clone%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>
  224. </span>
  225. <span class="small pull-right mobile-hide">
  226. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L247">View Source</a>
  227. </span>
  228. <a id="IPA_Loader_StateTransitionTransaction_Clone_" data-uid="IPA.Loader.StateTransitionTransaction.Clone*"></a>
  229. <h4 id="IPA_Loader_StateTransitionTransaction_Clone" data-uid="IPA.Loader.StateTransitionTransaction.Clone">Clone()</h4>
  230. <div class="markdown level1 summary"><p>Clones this transaction to be identical, but with unrelated underlying sets.</p>
  231. </div>
  232. <div class="markdown level1 conceptual"></div>
  233. <h5 class="decalaration">Declaration</h5>
  234. <div class="codewrapper">
  235. <pre><code class="lang-csharp hljs">public StateTransitionTransaction Clone()</code></pre>
  236. </div>
  237. <h5 class="returns">Returns</h5>
  238. <table class="table table-bordered table-striped table-condensed">
  239. <thead>
  240. <tr>
  241. <th>Type</th>
  242. <th>Description</th>
  243. </tr>
  244. </thead>
  245. <tbody>
  246. <tr>
  247. <td><a class="xref" href="IPA.Loader.StateTransitionTransaction.html">StateTransitionTransaction</a></td>
  248. <td><p>the new <a class="xref" href="IPA.Loader.StateTransitionTransaction.html">StateTransitionTransaction</a></p>
  249. </td>
  250. </tr>
  251. </tbody>
  252. </table>
  253. <span class="small pull-right mobile-hide">
  254. <span class="divider">|</span>
  255. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Commit.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Commit%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>
  256. </span>
  257. <span class="small pull-right mobile-hide">
  258. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L240">View Source</a>
  259. </span>
  260. <a id="IPA_Loader_StateTransitionTransaction_Commit_" data-uid="IPA.Loader.StateTransitionTransaction.Commit*"></a>
  261. <h4 id="IPA_Loader_StateTransitionTransaction_Commit" data-uid="IPA.Loader.StateTransitionTransaction.Commit">Commit()</h4>
  262. <div class="markdown level1 summary"><p>Commits this transaction to actual state, enabling and disabling plugins as necessary.</p>
  263. </div>
  264. <div class="markdown level1 conceptual"></div>
  265. <h5 class="decalaration">Declaration</h5>
  266. <div class="codewrapper">
  267. <pre><code class="lang-csharp hljs">public Task Commit()</code></pre>
  268. </div>
  269. <h5 class="returns">Returns</h5>
  270. <table class="table table-bordered table-striped table-condensed">
  271. <thead>
  272. <tr>
  273. <th>Type</th>
  274. <th>Description</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td><span class="xref">Task</span></td>
  280. <td><p>a <see cref="!:Task"></see> which completes whenever all disables complete</p>
  281. </td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <h5 id="IPA_Loader_StateTransitionTransaction_Commit_remarks">Remarks</h5>
  286. <div class="markdown level1 remarks"><p>After this completes, this transaction will be disposed.</p>
  287. <p>
  288. The <see cref="!:Task"></see> that is returned will error if <strong>any</strong> of the mods being <strong>disabled</strong>
  289. error. It is up to the caller to handle these in a sane way, like logging them. If nothing else, do something like this:
  290. <pre><code>// get your transaction...
  291. var complete = transaction.Commit();
  292. await complete.ContinueWith(t => {
  293. if (t.IsFaulted)
  294. Logger.log.Error($&quot;Error disabling plugins: {t.Exception}&quot;);
  295. });</code></pre>
  296. If you are running in a coroutine, you can use <a class="xref" href="IPA.Utilities.Async.Coroutines.html#IPA_Utilities_Async_Coroutines_WaitForTask_Task_">WaitForTask(Task)</a> instead of <span class="xref">await</span>.
  297. </p>
  298. <p>
  299. If you are running on the Unity main thread, this will block until all enabling is done, and will return a task representing the disables.
  300. Otherwise, the task returned represents both, and <em>will not complete</em> until Unity has done (possibly) several updates, depending on
  301. the number of plugins being disabled, and the time they take.
  302. </p>
  303. </div>
  304. <span class="small pull-right mobile-hide">
  305. <span class="divider">|</span>
  306. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Disable_IPA_Loader_PluginMetadata_System_Boolean_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Disable(IPA.Loader.PluginMetadata%2CSystem.Boolean)%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>
  307. </span>
  308. <span class="small pull-right mobile-hide">
  309. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L164">View Source</a>
  310. </span>
  311. <a id="IPA_Loader_StateTransitionTransaction_Disable_" data-uid="IPA.Loader.StateTransitionTransaction.Disable*"></a>
  312. <h4 id="IPA_Loader_StateTransitionTransaction_Disable_IPA_Loader_PluginMetadata_System_Boolean_" data-uid="IPA.Loader.StateTransitionTransaction.Disable(IPA.Loader.PluginMetadata,System.Boolean)">Disable(PluginMetadata, Boolean)</h4>
  313. <div class="markdown level1 summary"><p>Disables a plugin in this transaction.</p>
  314. </div>
  315. <div class="markdown level1 conceptual"></div>
  316. <h5 class="decalaration">Declaration</h5>
  317. <div class="codewrapper">
  318. <pre><code class="lang-csharp hljs">public bool Disable(PluginMetadata meta, bool autoDependents = true)</code></pre>
  319. </div>
  320. <h5 class="parameters">Parameters</h5>
  321. <table class="table table-bordered table-striped table-condensed">
  322. <thead>
  323. <tr>
  324. <th>Type</th>
  325. <th>Name</th>
  326. <th>Description</th>
  327. </tr>
  328. </thead>
  329. <tbody>
  330. <tr>
  331. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  332. <td><span class="parametername">meta</span></td>
  333. <td><p>the plugin to disable</p>
  334. </td>
  335. </tr>
  336. <tr>
  337. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  338. <td><span class="parametername">autoDependents</span></td>
  339. <td><p>whether or not to automatically disable all dependents of the plugin</p>
  340. </td>
  341. </tr>
  342. </tbody>
  343. </table>
  344. <h5 class="returns">Returns</h5>
  345. <table class="table table-bordered table-striped table-condensed">
  346. <thead>
  347. <tr>
  348. <th>Type</th>
  349. <th>Description</th>
  350. </tr>
  351. </thead>
  352. <tbody>
  353. <tr>
  354. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  355. <td><p><span class="xref">true</span> if the transaction&apos;s state was changed, <span class="xref">false</span> otherwise</p>
  356. </td>
  357. </tr>
  358. </tbody>
  359. </table>
  360. <span class="small pull-right mobile-hide">
  361. <span class="divider">|</span>
  362. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Disable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Disable(IPA.Loader.PluginMetadata%2CSystem.Nullable%7BIEnumerable%7BIPA.Loader.PluginMetadata%7D%7D%40%2CSystem.Boolean)%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>
  363. </span>
  364. <span class="small pull-right mobile-hide">
  365. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L179">View Source</a>
  366. </span>
  367. <a id="IPA_Loader_StateTransitionTransaction_Disable_" data-uid="IPA.Loader.StateTransitionTransaction.Disable*"></a>
  368. <h4 id="IPA_Loader_StateTransitionTransaction_Disable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean_" data-uid="IPA.Loader.StateTransitionTransaction.Disable(IPA.Loader.PluginMetadata,System.Nullable{IEnumerable{IPA.Loader.PluginMetadata}}@,System.Boolean)">Disable(PluginMetadata, out Nullable&lt;IEnumerable&lt;PluginMetadata&gt;&gt;, Boolean)</h4>
  369. <div class="markdown level1 summary"><p>Disables a plugin in this transaction.</p>
  370. </div>
  371. <div class="markdown level1 conceptual"></div>
  372. <h5 class="decalaration">Declaration</h5>
  373. <div class="codewrapper">
  374. <pre><code class="lang-csharp hljs">public bool Disable(PluginMetadata meta, out IEnumerable&lt;PluginMetadata&gt;? enabledDependents, bool autoDependents = false)</code></pre>
  375. </div>
  376. <h5 class="parameters">Parameters</h5>
  377. <table class="table table-bordered table-striped table-condensed">
  378. <thead>
  379. <tr>
  380. <th>Type</th>
  381. <th>Name</th>
  382. <th>Description</th>
  383. </tr>
  384. </thead>
  385. <tbody>
  386. <tr>
  387. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  388. <td><span class="parametername">meta</span></td>
  389. <td><p>the plugin to disable</p>
  390. </td>
  391. </tr>
  392. <tr>
  393. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.nullable-1">Nullable</a>&lt;<span class="xref">IEnumerable</span>&lt;<a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a>&gt;&gt;</td>
  394. <td><span class="parametername">enabledDependents</span></td>
  395. <td><p><span class="xref">null</span> if successful, otherwise a set of plugins that need to be disabled first</p>
  396. </td>
  397. </tr>
  398. <tr>
  399. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  400. <td><span class="parametername">autoDependents</span></td>
  401. <td><p>whether or not to automatically disable all dependents of the plugin</p>
  402. </td>
  403. </tr>
  404. </tbody>
  405. </table>
  406. <h5 class="returns">Returns</h5>
  407. <table class="table table-bordered table-striped table-condensed">
  408. <thead>
  409. <tr>
  410. <th>Type</th>
  411. <th>Description</th>
  412. </tr>
  413. </thead>
  414. <tbody>
  415. <tr>
  416. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  417. <td><p><span class="xref">true</span> if the transaction&apos;s state was changed, <span class="xref">false</span> otherwise</p>
  418. </td>
  419. </tr>
  420. </tbody>
  421. </table>
  422. <h5 id="IPA_Loader_StateTransitionTransaction_Disable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean__remarks">Remarks</h5>
  423. <div class="markdown level1 remarks"><p><code data-dev-comment-type="paramref" class="paramref">enabledDependents</code> will only be set when <code data-dev-comment-type="paramref" class="paramref">autoDependents</code> is <span class="xref">false</span>.</p>
  424. </div>
  425. <span class="small pull-right mobile-hide">
  426. <span class="divider">|</span>
  427. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Dispose.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Dispose%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>
  428. </span>
  429. <span class="small pull-right mobile-hide">
  430. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L269">View Source</a>
  431. </span>
  432. <a id="IPA_Loader_StateTransitionTransaction_Dispose_" data-uid="IPA.Loader.StateTransitionTransaction.Dispose*"></a>
  433. <h4 id="IPA_Loader_StateTransitionTransaction_Dispose" data-uid="IPA.Loader.StateTransitionTransaction.Dispose">Dispose()</h4>
  434. <div class="markdown level1 summary"><p>Disposes and discards this transaction without committing it.</p>
  435. </div>
  436. <div class="markdown level1 conceptual"></div>
  437. <h5 class="decalaration">Declaration</h5>
  438. <div class="codewrapper">
  439. <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  440. </div>
  441. <span class="small pull-right mobile-hide">
  442. <span class="divider">|</span>
  443. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Enable_IPA_Loader_PluginMetadata_System_Boolean_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Enable(IPA.Loader.PluginMetadata%2CSystem.Boolean)%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>
  444. </span>
  445. <span class="small pull-right mobile-hide">
  446. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L106">View Source</a>
  447. </span>
  448. <a id="IPA_Loader_StateTransitionTransaction_Enable_" data-uid="IPA.Loader.StateTransitionTransaction.Enable*"></a>
  449. <h4 id="IPA_Loader_StateTransitionTransaction_Enable_IPA_Loader_PluginMetadata_System_Boolean_" data-uid="IPA.Loader.StateTransitionTransaction.Enable(IPA.Loader.PluginMetadata,System.Boolean)">Enable(PluginMetadata, Boolean)</h4>
  450. <div class="markdown level1 summary"><p>Enables a plugin in this transaction.</p>
  451. </div>
  452. <div class="markdown level1 conceptual"></div>
  453. <h5 class="decalaration">Declaration</h5>
  454. <div class="codewrapper">
  455. <pre><code class="lang-csharp hljs">public bool Enable(PluginMetadata meta, bool autoDeps = true)</code></pre>
  456. </div>
  457. <h5 class="parameters">Parameters</h5>
  458. <table class="table table-bordered table-striped table-condensed">
  459. <thead>
  460. <tr>
  461. <th>Type</th>
  462. <th>Name</th>
  463. <th>Description</th>
  464. </tr>
  465. </thead>
  466. <tbody>
  467. <tr>
  468. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  469. <td><span class="parametername">meta</span></td>
  470. <td><p>the plugin to enable</p>
  471. </td>
  472. </tr>
  473. <tr>
  474. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  475. <td><span class="parametername">autoDeps</span></td>
  476. <td><p>whether or not to automatically enable all dependencies of the plugin</p>
  477. </td>
  478. </tr>
  479. </tbody>
  480. </table>
  481. <h5 class="returns">Returns</h5>
  482. <table class="table table-bordered table-striped table-condensed">
  483. <thead>
  484. <tr>
  485. <th>Type</th>
  486. <th>Description</th>
  487. </tr>
  488. </thead>
  489. <tbody>
  490. <tr>
  491. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  492. <td><p><span class="xref">true</span> if the transaction&apos;s state was changed, <span class="xref">false</span> otherwise</p>
  493. </td>
  494. </tr>
  495. </tbody>
  496. </table>
  497. <span class="small pull-right mobile-hide">
  498. <span class="divider">|</span>
  499. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_Enable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.Enable(IPA.Loader.PluginMetadata%2CSystem.Nullable%7BIEnumerable%7BIPA.Loader.PluginMetadata%7D%7D%40%2CSystem.Boolean)%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>
  500. </span>
  501. <span class="small pull-right mobile-hide">
  502. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L121">View Source</a>
  503. </span>
  504. <a id="IPA_Loader_StateTransitionTransaction_Enable_" data-uid="IPA.Loader.StateTransitionTransaction.Enable*"></a>
  505. <h4 id="IPA_Loader_StateTransitionTransaction_Enable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean_" data-uid="IPA.Loader.StateTransitionTransaction.Enable(IPA.Loader.PluginMetadata,System.Nullable{IEnumerable{IPA.Loader.PluginMetadata}}@,System.Boolean)">Enable(PluginMetadata, out Nullable&lt;IEnumerable&lt;PluginMetadata&gt;&gt;, Boolean)</h4>
  506. <div class="markdown level1 summary"><p>Enables a plugin in this transaction.</p>
  507. </div>
  508. <div class="markdown level1 conceptual"></div>
  509. <h5 class="decalaration">Declaration</h5>
  510. <div class="codewrapper">
  511. <pre><code class="lang-csharp hljs">public bool Enable(PluginMetadata meta, out IEnumerable&lt;PluginMetadata&gt;? disabledDeps, bool autoDeps = false)</code></pre>
  512. </div>
  513. <h5 class="parameters">Parameters</h5>
  514. <table class="table table-bordered table-striped table-condensed">
  515. <thead>
  516. <tr>
  517. <th>Type</th>
  518. <th>Name</th>
  519. <th>Description</th>
  520. </tr>
  521. </thead>
  522. <tbody>
  523. <tr>
  524. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  525. <td><span class="parametername">meta</span></td>
  526. <td><p>the plugin to enable</p>
  527. </td>
  528. </tr>
  529. <tr>
  530. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.nullable-1">Nullable</a>&lt;<span class="xref">IEnumerable</span>&lt;<a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a>&gt;&gt;</td>
  531. <td><span class="parametername">disabledDeps</span></td>
  532. <td><p><span class="xref">null</span> if successful, otherwise a set of plugins that need to be enabled first</p>
  533. </td>
  534. </tr>
  535. <tr>
  536. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  537. <td><span class="parametername">autoDeps</span></td>
  538. <td><p>whether or not to automatically enable all dependencies</p>
  539. </td>
  540. </tr>
  541. </tbody>
  542. </table>
  543. <h5 class="returns">Returns</h5>
  544. <table class="table table-bordered table-striped table-condensed">
  545. <thead>
  546. <tr>
  547. <th>Type</th>
  548. <th>Description</th>
  549. </tr>
  550. </thead>
  551. <tbody>
  552. <tr>
  553. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  554. <td><p><span class="xref">true</span> if the transaction&apos;s state was changed, <span class="xref">false</span> otherwise</p>
  555. </td>
  556. </tr>
  557. </tbody>
  558. </table>
  559. <h5 id="IPA_Loader_StateTransitionTransaction_Enable_IPA_Loader_PluginMetadata_System_Nullable_IEnumerable_IPA_Loader_PluginMetadata____System_Boolean__remarks">Remarks</h5>
  560. <div class="markdown level1 remarks"><p><code data-dev-comment-type="paramref" class="paramref">disabledDeps</code> will only be set when <code data-dev-comment-type="paramref" class="paramref">autoDeps</code> is <span class="xref">false</span>.</p>
  561. </div>
  562. <span class="small pull-right mobile-hide">
  563. <span class="divider">|</span>
  564. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.IsDisabled(IPA.Loader.PluginMetadata)%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>
  565. </span>
  566. <span class="small pull-right mobile-hide">
  567. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L91">View Source</a>
  568. </span>
  569. <a id="IPA_Loader_StateTransitionTransaction_IsDisabled_" data-uid="IPA.Loader.StateTransitionTransaction.IsDisabled*"></a>
  570. <h4 id="IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata_" data-uid="IPA.Loader.StateTransitionTransaction.IsDisabled(IPA.Loader.PluginMetadata)">IsDisabled(PluginMetadata)</h4>
  571. <div class="markdown level1 summary"><p>Checks if a plugin is disabled according to this transaction&apos;s current state.</p>
  572. </div>
  573. <div class="markdown level1 conceptual"></div>
  574. <h5 class="decalaration">Declaration</h5>
  575. <div class="codewrapper">
  576. <pre><code class="lang-csharp hljs">public bool IsDisabled(PluginMetadata meta)</code></pre>
  577. </div>
  578. <h5 class="parameters">Parameters</h5>
  579. <table class="table table-bordered table-striped table-condensed">
  580. <thead>
  581. <tr>
  582. <th>Type</th>
  583. <th>Name</th>
  584. <th>Description</th>
  585. </tr>
  586. </thead>
  587. <tbody>
  588. <tr>
  589. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  590. <td><span class="parametername">meta</span></td>
  591. <td><p>the plugin to check</p>
  592. </td>
  593. </tr>
  594. </tbody>
  595. </table>
  596. <h5 class="returns">Returns</h5>
  597. <table class="table table-bordered table-striped table-condensed">
  598. <thead>
  599. <tr>
  600. <th>Type</th>
  601. <th>Description</th>
  602. </tr>
  603. </thead>
  604. <tbody>
  605. <tr>
  606. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  607. <td><p><span class="xref">true</span> if the plugin is disabled, <span class="xref">false</span> otherwise</p>
  608. </td>
  609. </tr>
  610. </tbody>
  611. </table>
  612. <h5 id="IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata__remarks">Remarks</h5>
  613. <div class="markdown level1 remarks"><p>This should be roughly equivalent to <code>DisabledPlugins.Contains(meta)</code>, but more performant.</p>
  614. <p>This should also always return the inverse of <a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata_">IsEnabled(PluginMetadata)</a> for valid plugins.</p>
  615. </div>
  616. <h5 id="IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata__seealso">See Also</h5>
  617. <div class="seealso">
  618. <div><a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_DisabledPlugins">DisabledPlugins</a></div>
  619. <div><a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata_">IsEnabled(PluginMetadata)</a></div>
  620. </div>
  621. <span class="small pull-right mobile-hide">
  622. <span class="divider">|</span>
  623. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction.IsEnabled(IPA.Loader.PluginMetadata)%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>
  624. </span>
  625. <span class="small pull-right mobile-hide">
  626. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L74">View Source</a>
  627. </span>
  628. <a id="IPA_Loader_StateTransitionTransaction_IsEnabled_" data-uid="IPA.Loader.StateTransitionTransaction.IsEnabled*"></a>
  629. <h4 id="IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata_" data-uid="IPA.Loader.StateTransitionTransaction.IsEnabled(IPA.Loader.PluginMetadata)">IsEnabled(PluginMetadata)</h4>
  630. <div class="markdown level1 summary"><p>Checks if a plugin is enabled according to this transaction&apos;s current state.</p>
  631. </div>
  632. <div class="markdown level1 conceptual"></div>
  633. <h5 class="decalaration">Declaration</h5>
  634. <div class="codewrapper">
  635. <pre><code class="lang-csharp hljs">public bool IsEnabled(PluginMetadata meta)</code></pre>
  636. </div>
  637. <h5 class="parameters">Parameters</h5>
  638. <table class="table table-bordered table-striped table-condensed">
  639. <thead>
  640. <tr>
  641. <th>Type</th>
  642. <th>Name</th>
  643. <th>Description</th>
  644. </tr>
  645. </thead>
  646. <tbody>
  647. <tr>
  648. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  649. <td><span class="parametername">meta</span></td>
  650. <td><p>the plugin to check</p>
  651. </td>
  652. </tr>
  653. </tbody>
  654. </table>
  655. <h5 class="returns">Returns</h5>
  656. <table class="table table-bordered table-striped table-condensed">
  657. <thead>
  658. <tr>
  659. <th>Type</th>
  660. <th>Description</th>
  661. </tr>
  662. </thead>
  663. <tbody>
  664. <tr>
  665. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  666. <td><p><span class="xref">true</span> if the plugin is enabled, <span class="xref">false</span> otherwise</p>
  667. </td>
  668. </tr>
  669. </tbody>
  670. </table>
  671. <h5 id="IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata__remarks">Remarks</h5>
  672. <div class="markdown level1 remarks"><p>This should be roughly equivalent to <code>EnabledPlugins.Contains(meta)</code>, but more performant.</p>
  673. <p>This should also always return the inverse of <a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata_">IsDisabled(PluginMetadata)</a> for valid plugins.</p>
  674. </div>
  675. <h5 id="IPA_Loader_StateTransitionTransaction_IsEnabled_IPA_Loader_PluginMetadata__seealso">See Also</h5>
  676. <div class="seealso">
  677. <div><a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_EnabledPlugins">EnabledPlugins</a></div>
  678. <div><a class="xref" href="IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata_">IsDisabled(PluginMetadata)</a></div>
  679. </div>
  680. <h3 id="extensionmethods">Extension Methods</h3>
  681. <div>
  682. <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>
  683. </div>
  684. <div>
  685. <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>
  686. </div>
  687. <div>
  688. <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>
  689. </div>
  690. <div>
  691. <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>
  692. </div>
  693. <div>
  694. <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>
  695. </div>
  696. </article>
  697. </div>
  698. <div class="hidden-sm col-md-2" role="complementary">
  699. <div class="sideaffix">
  700. <div class="contribution">
  701. <ul class="nav">
  702. <li>
  703. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_StateTransitionTransaction.md&amp;value=---%0Auid%3A%20IPA.Loader.StateTransitionTransaction%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>
  704. </li>
  705. <li>
  706. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/3fa908a557fb00196c5729237ae859a2e3804623/IPA.Loader/Loader/StateTransitionTransaction.cs/#L12" class="contribution-link">View Source</a>
  707. </li>
  708. </ul>
  709. </div>
  710. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  711. <h5>In This Article</h5>
  712. <div></div>
  713. </nav>
  714. </div>
  715. </div>
  716. </div>
  717. </div>
  718. <footer>
  719. <div class="grad-bottom"></div>
  720. <div class="footer">
  721. <div class="container">
  722. <span class="pull-right">
  723. <a href="#top">Back to top</a>
  724. </span>
  725. <span>Generated by <strong>DocFX</strong></span>
  726. </div>
  727. </div>
  728. </footer>
  729. </div>
  730. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  731. <script type="text/javascript" src="../styles/docfx.js"></script>
  732. <script type="text/javascript" src="../styles/main.js"></script>
  733. </body>
  734. </html>