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.

197 lines
8.4 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 PluginInitInjector
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class PluginInitInjector
  11. ">
  12. <meta name="generator" content="docfx 2.42.4.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../index.html">
  33. <img id="logo" class="svg" src="../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="IPA.Loader.PluginInitInjector">
  63. <h1 id="IPA_Loader_PluginInitInjector" data-uid="IPA.Loader.PluginInitInjector" class="text-break">Class PluginInitInjector
  64. </h1>
  65. <div class="markdown level0 summary"><p>The type that handles value injecting into a plugin's Init.</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><span class="xref">PluginInitInjector</span></div>
  72. </div>
  73. <div class="inheritedMembers">
  74. <h5>Inherited Members</h5>
  75. <div>
  76. <span class="xref">System.Object.ToString()</span>
  77. </div>
  78. <div>
  79. <span class="xref">System.Object.Equals(System.Object)</span>
  80. </div>
  81. <div>
  82. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  83. </div>
  84. <div>
  85. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  86. </div>
  87. <div>
  88. <span class="xref">System.Object.GetHashCode()</span>
  89. </div>
  90. <div>
  91. <span class="xref">System.Object.GetType()</span>
  92. </div>
  93. <div>
  94. <span class="xref">System.Object.MemberwiseClone()</span>
  95. </div>
  96. </div>
  97. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Loader.html">IPA.Loader</a></h6>
  98. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  99. <h5 id="IPA_Loader_PluginInitInjector_syntax">Syntax</h5>
  100. <div class="codewrapper">
  101. <pre><code class="lang-csharp hljs">public static class PluginInitInjector</code></pre>
  102. </div>
  103. <h3 id="methods">Methods
  104. </h3>
  105. <span class="small pull-right mobile-hide">
  106. <span class="divider">|</span>
  107. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Loader_PluginInitInjector_AddInjector_System_Type_IPA_Loader_PluginInitInjector_InjectParameter_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginInitInjector.AddInjector(System.Type%2CIPA.Loader.PluginInitInjector.InjectParameter)%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>
  108. </span>
  109. <span class="small pull-right mobile-hide">
  110. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Loader/PluginInitInjector.cs/#L31">View Source</a>
  111. </span>
  112. <a id="IPA_Loader_PluginInitInjector_AddInjector_" data-uid="IPA.Loader.PluginInitInjector.AddInjector*"></a>
  113. <h4 id="IPA_Loader_PluginInitInjector_AddInjector_System_Type_IPA_Loader_PluginInitInjector_InjectParameter_" data-uid="IPA.Loader.PluginInitInjector.AddInjector(System.Type,IPA.Loader.PluginInitInjector.InjectParameter)">AddInjector(Type, PluginInitInjector.InjectParameter)</h4>
  114. <div class="markdown level1 summary"><p>Adds an injector to be used when calling future plugins' Init methods.</p>
  115. </div>
  116. <div class="markdown level1 conceptual"></div>
  117. <h5 class="decalaration">Declaration</h5>
  118. <div class="codewrapper">
  119. <pre><code class="lang-csharp hljs">public static void AddInjector(Type type, PluginInitInjector.InjectParameter injector)</code></pre>
  120. </div>
  121. <h5 class="parameters">Parameters</h5>
  122. <table class="table table-bordered table-striped table-condensed">
  123. <thead>
  124. <tr>
  125. <th>Type</th>
  126. <th>Name</th>
  127. <th>Description</th>
  128. </tr>
  129. </thead>
  130. <tbody>
  131. <tr>
  132. <td><span class="xref">System.Type</span></td>
  133. <td><span class="parametername">type</span></td>
  134. <td><p>the type of the parameter.</p>
  135. </td>
  136. </tr>
  137. <tr>
  138. <td><a class="xref" href="IPA.Loader.PluginInitInjector.InjectParameter.html">PluginInitInjector.InjectParameter</a></td>
  139. <td><span class="parametername">injector</span></td>
  140. <td><p>the function to call for injection.</p>
  141. </td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. </article>
  146. </div>
  147. <div class="hidden-sm col-md-2" role="complementary">
  148. <div class="sideaffix">
  149. <div class="contribution">
  150. <ul class="nav">
  151. <li>
  152. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/apiSpec/new?filename=IPA_Loader_PluginInitInjector.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginInitInjector%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>
  153. </li>
  154. <li>
  155. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/master/IPA.Loader/Loader/PluginInitInjector.cs/#L14" class="contribution-link">View Source</a>
  156. </li>
  157. </ul>
  158. </div>
  159. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  160. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  161. </nav>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. <footer>
  167. <div class="grad-bottom"></div>
  168. <div class="footer">
  169. <div class="container">
  170. <span class="pull-right">
  171. <a href="#top">Back to top</a>
  172. </span>
  173. <span>Generated by <strong>DocFX</strong></span>
  174. </div>
  175. </div>
  176. </footer>
  177. </div>
  178. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  179. <script type="text/javascript" src="../styles/docfx.js"></script>
  180. <script type="text/javascript" src="../styles/main.js"></script>
  181. </body>
  182. </html>