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.

289 lines
16 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 ISetConverter&lt;T, TConverter&gt;
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ISetConverter&lt;T, TConverter&gt;
  11. ">
  12. <meta name="generator" content="docfx 2.48.0.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="IPA.Config.Stores.Converters.ISetConverter`2">
  74. <h1 id="IPA_Config_Stores_Converters_ISetConverter_2" data-uid="IPA.Config.Stores.Converters.ISetConverter`2" class="text-break">Class ISetConverter&lt;T, TConverter&gt;
  75. </h1>
  76. <div class="markdown level0 summary"><p>An <a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html">ISetConverter&lt;T&gt;</a> which default constructs a converter for use as the value converter.</p>
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  82. <div class="level1"><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.iset-1">ISet</a>&lt;T&gt;&gt;</div>
  83. <div class="level2"><a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter</a>&lt;T, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.iset-1">ISet</a>&lt;T&gt;&gt;</div>
  84. <div class="level3"><a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html">ISetConverter</a>&lt;T&gt;</div>
  85. <div class="level4"><span class="xref">ISetConverter&lt;T, TConverter&gt;</span></div>
  86. </div>
  87. <div classs="implements">
  88. <h5>Implements</h5>
  89. <div><a class="xref" href="IPA.Config.Stores.IValueConverter.html">IValueConverter</a></div>
  90. </div>
  91. <div class="inheritedMembers">
  92. <h5>Inherited Members</h5>
  93. <div>
  94. <a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html#IPA_Config_Stores_Converters_ISetConverter_1_Create_System_Int32_System_Object_">ISetConverter&lt;T&gt;.Create(Int32, Object)</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html#IPA_Config_Stores_Converters_CollectionConverter_2_BaseConverter">CollectionConverter&lt;T, ISet&lt;T&gt;&gt;.BaseConverter</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html#IPA_Config_Stores_Converters_CollectionConverter_2_Create_System_Int32_System_Object_">CollectionConverter&lt;T, ISet&lt;T&gt;&gt;.Create(Int32, Object)</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html#IPA_Config_Stores_Converters_CollectionConverter_2_PopulateFromValue__1_IPA_Config_Data_List_System_Object_">CollectionConverter&lt;T, ISet&lt;T&gt;&gt;.PopulateFromValue(ISet&lt;T&gt;, List, Object)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html#IPA_Config_Stores_Converters_CollectionConverter_2_FromValue_IPA_Config_Data_Value_System_Object_">CollectionConverter&lt;T, ISet&lt;T&gt;&gt;.FromValue(Value, Object)</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html#IPA_Config_Stores_Converters_CollectionConverter_2_ToValue__1_System_Object_">CollectionConverter&lt;T, ISet&lt;T&gt;&gt;.ToValue(ISet&lt;T&gt;, Object)</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_ToValue__0_System_Object_">ValueConverter&lt;ISet&lt;T&gt;&gt;.ToValue(ISet&lt;T&gt;, Object)</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_FromValue_IPA_Config_Data_Value_System_Object_">ValueConverter&lt;ISet&lt;T&gt;&gt;.FromValue(Value, Object)</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_IPA_Config_Stores_IValueConverter_ToValue_System_Object_System_Object_">ValueConverter&lt;ISet&lt;T&gt;&gt;.IValueConverter.ToValue(Object, Object)</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_IPA_Config_Stores_IValueConverter_FromValue_IPA_Config_Data_Value_System_Object_">ValueConverter&lt;ISet&lt;T&gt;&gt;.IValueConverter.FromValue(Value, Object)</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_IPA_Config_Stores_IValueConverter_Type">ValueConverter&lt;ISet&lt;T&gt;&gt;.IValueConverter.Type</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
  131. </div>
  132. <div>
  133. <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>
  134. </div>
  135. <div>
  136. <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>
  137. </div>
  138. <div>
  139. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  140. </div>
  141. <div>
  142. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">Object.MemberwiseClone()</a>
  146. </div>
  147. </div>
  148. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Config.Stores.Converters.html">IPA.Config.Stores.Converters</a></h6>
  149. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  150. <h5 id="IPA_Config_Stores_Converters_ISetConverter_2_syntax">Syntax</h5>
  151. <div class="codewrapper">
  152. <pre><code class="lang-csharp hljs">public sealed class ISetConverter&lt;T, TConverter&gt; : ISetConverter&lt;T&gt;, IValueConverter where TConverter : ValueConverter&lt;T&gt;, new()</code></pre>
  153. </div>
  154. <h5 class="typeParameters">Type Parameters</h5>
  155. <table class="table table-bordered table-striped table-condensed">
  156. <thead>
  157. <tr>
  158. <th>Name</th>
  159. <th>Description</th>
  160. </tr>
  161. </thead>
  162. <tbody>
  163. <tr>
  164. <td><span class="parametername">T</span></td>
  165. <td><p>the value type of the collection</p>
  166. </td>
  167. </tr>
  168. <tr>
  169. <td><span class="parametername">TConverter</span></td>
  170. <td><p>the type of the converter to use for <code data-dev-comment-type="typeparamref" class="typeparamref">T</code></p>
  171. </td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <h3 id="constructors">Constructors
  176. </h3>
  177. <span class="small pull-right mobile-hide">
  178. <span class="divider">|</span>
  179. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/4.0.0-beta/docs/override/new?filename=IPA_Config_Stores_Converters_ISetConverter_2__ctor.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.ISetConverter%602.%23ctor%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>
  180. </span>
  181. <span class="small pull-right mobile-hide">
  182. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/8e05f807de1392b35b682971ba00f5488d27314f/IPA.Loader/Config/Stores/CollectionConverter.cs/#L147">View Source</a>
  183. </span>
  184. <a id="IPA_Config_Stores_Converters_ISetConverter_2__ctor_" data-uid="IPA.Config.Stores.Converters.ISetConverter`2.#ctor*"></a>
  185. <h4 id="IPA_Config_Stores_Converters_ISetConverter_2__ctor" data-uid="IPA.Config.Stores.Converters.ISetConverter`2.#ctor">ISetConverter()</h4>
  186. <div class="markdown level1 summary"><p>Creates an <a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html">ISetConverter&lt;T&gt;</a> using a default constructed <code data-dev-comment-type="typeparamref" class="typeparamref">TConverter</code>
  187. element type. Equivalent to calling <a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html#IPA_Config_Stores_Converters_ISetConverter_1__ctor_IPA_Config_Stores_ValueConverter__0__">ISetConverter(ValueConverter&lt;T&gt;)</a>
  188. with a default-constructed <code data-dev-comment-type="typeparamref" class="typeparamref">TConverter</code>.</p>
  189. </div>
  190. <div class="markdown level1 conceptual"></div>
  191. <h5 class="decalaration">Declaration</h5>
  192. <div class="codewrapper">
  193. <pre><code class="lang-csharp hljs">public ISetConverter()</code></pre>
  194. </div>
  195. <h5 id="IPA_Config_Stores_Converters_ISetConverter_2__ctor_seealso">See Also</h5>
  196. <div class="seealso">
  197. <div><a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html#IPA_Config_Stores_Converters_ISetConverter_1__ctor_IPA_Config_Stores_ValueConverter__0__">ISetConverter(ValueConverter&lt;T&gt;)</a></div>
  198. </div>
  199. <h3 id="implements">Implements</h3>
  200. <div>
  201. <a class="xref" href="IPA.Config.Stores.IValueConverter.html">IValueConverter</a>
  202. </div>
  203. <h3 id="extensionmethods">Extension Methods</h3>
  204. <div>
  205. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetField_System_Object_System_String_System_Object_">ReflectionUtil.SetField(Object, String, Object)</a>
  206. </div>
  207. <div>
  208. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetField__1___0_System_String_System_Object_">ReflectionUtil.SetField&lt;T&gt;(T, String, Object)</a>
  209. </div>
  210. <div>
  211. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetField__1_System_Object_System_String_">ReflectionUtil.GetField&lt;T&gt;(Object, String)</a>
  212. </div>
  213. <div>
  214. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetField__2___1_System_String_">ReflectionUtil.GetField&lt;T, U&gt;(U, String)</a>
  215. </div>
  216. <div>
  217. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetProperty(Object, String, Object)</a>
  218. </div>
  219. <div>
  220. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetProperty__1___0_System_String_System_Object_">ReflectionUtil.SetProperty&lt;T&gt;(T, String, Object)</a>
  221. </div>
  222. <div>
  223. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokeMethod(Object, String, Object[])</a>
  224. </div>
  225. <div>
  226. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod__1___0_System_String_System_Object___">ReflectionUtil.InvokeMethod&lt;T&gt;(T, String, Object[])</a>
  227. </div>
  228. <div>
  229. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod__1_System_Object_System_String_System_Object___">ReflectionUtil.InvokeMethod&lt;T&gt;(Object, String, Object[])</a>
  230. </div>
  231. <div>
  232. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod__2___1_System_String_System_Object___">ReflectionUtil.InvokeMethod&lt;T, U&gt;(U, String, Object[])</a>
  233. </div>
  234. <h3 id="seealso">See Also</h3>
  235. <div class="seealso">
  236. <div><a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html">ISetConverter</a>&lt;T&gt;</div>
  237. </div>
  238. </article>
  239. </div>
  240. <div class="hidden-sm col-md-2" role="complementary">
  241. <div class="sideaffix">
  242. <div class="contribution">
  243. <ul class="nav">
  244. <li>
  245. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/4.0.0-beta/docs/override/new?filename=IPA_Config_Stores_Converters_ISetConverter_2.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.ISetConverter%602%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>
  246. </li>
  247. <li>
  248. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/8e05f807de1392b35b682971ba00f5488d27314f/IPA.Loader/Config/Stores/CollectionConverter.cs/#L138" class="contribution-link">View Source</a>
  249. </li>
  250. </ul>
  251. </div>
  252. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  253. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  254. </nav>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. <footer>
  260. <div class="grad-bottom"></div>
  261. <div class="footer">
  262. <div class="container">
  263. <span class="pull-right">
  264. <a href="#top">Back to top</a>
  265. </span>
  266. <span>Generated by <strong>DocFX</strong></span>
  267. </div>
  268. </div>
  269. </footer>
  270. </div>
  271. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  272. <script type="text/javascript" src="../styles/docfx.js"></script>
  273. <script type="text/javascript" src="../styles/main.js"></script>
  274. </body>
  275. </html>