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.

427 lines
24 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 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 IReadOnlyDictionaryConverter&lt;TValue&gt;
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class IReadOnlyDictionaryConverter&lt;TValue&gt;
  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.Config.Stores.Converters.IReadOnlyDictionaryConverter`1">
  75. <h1 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1" class="text-break">Class IReadOnlyDictionaryConverter&lt;TValue&gt;
  76. </h1>
  77. <div class="markdown level0 summary"><p>A converter for instances of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary&lt;TKey,TValue&gt;</a>.</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://learn.microsoft.com/dotnet/api/system.object">Object</a></div>
  83. <div class="level1"><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>, TValue&gt;&gt;</div>
  84. <div class="level2"><span class="xref">IReadOnlyDictionaryConverter&lt;TValue&gt;</span></div>
  85. <div class="level3"><a class="xref" href="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html">IReadOnlyDictionaryConverter&lt;TValue, TConverter&gt;</a></div>
  86. </div>
  87. <div class="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.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_ToValue__0_System_Object_">ValueConverter&lt;IReadOnlyDictionary&lt;String, TValue&gt;&gt;.ToValue(IReadOnlyDictionary&lt;String, TValue&gt;, Object)</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_FromValue_IPA_Config_Data_Value_System_Object_">ValueConverter&lt;IReadOnlyDictionary&lt;String, TValue&gt;&gt;.FromValue(Value, Object)</a>
  98. </div>
  99. <div>
  100. <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;IReadOnlyDictionary&lt;String, TValue&gt;&gt;.IValueConverter.ToValue(Object, Object)</a>
  101. </div>
  102. <div>
  103. <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;IReadOnlyDictionary&lt;String, TValue&gt;&gt;.IValueConverter.FromValue(Value, Object)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_IPA_Config_Stores_IValueConverter_Type">ValueConverter&lt;IReadOnlyDictionary&lt;String, TValue&gt;&gt;.IValueConverter.Type</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
  113. </div>
  114. <div>
  115. <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>
  116. </div>
  117. <div>
  118. <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>
  119. </div>
  120. <div>
  121. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
  128. </div>
  129. </div>
  130. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Config.Stores.Converters.html">IPA.Config.Stores.Converters</a></h6>
  131. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  132. <h5 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_syntax">Syntax</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">public class IReadOnlyDictionaryConverter&lt;TValue&gt; : ValueConverter&lt;IReadOnlyDictionary&lt;string, TValue&gt;&gt;, IValueConverter</code></pre>
  135. </div>
  136. <h5 class="typeParameters">Type Parameters</h5>
  137. <table class="table table-bordered table-striped table-condensed">
  138. <thead>
  139. <tr>
  140. <th>Name</th>
  141. <th>Description</th>
  142. </tr>
  143. </thead>
  144. <tbody>
  145. <tr>
  146. <td><span class="parametername">TValue</span></td>
  147. <td><p>the value type of the dictionary</p>
  148. </td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <h3 id="constructors">Constructors
  153. </h3>
  154. <span class="small pull-right mobile-hide">
  155. <span class="divider">|</span>
  156. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601.%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>
  157. </span>
  158. <span class="small pull-right mobile-hide">
  159. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L447">View Source</a>
  160. </span>
  161. <a id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.#ctor*"></a>
  162. <h4 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.#ctor">IReadOnlyDictionaryConverter()</h4>
  163. <div class="markdown level1 summary"><p>Constructs an <a class="xref" href="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html">IReadOnlyDictionaryConverter&lt;TValue&gt;</a> using the default converter for the value type.</p>
  164. </div>
  165. <div class="markdown level1 conceptual"></div>
  166. <h5 class="decalaration">Declaration</h5>
  167. <div class="codewrapper">
  168. <pre><code class="lang-csharp hljs">public IReadOnlyDictionaryConverter()</code></pre>
  169. </div>
  170. <span class="small pull-right mobile-hide">
  171. <span class="divider">|</span>
  172. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor_IPA_Config_Stores_ValueConverter__0__.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601.%23ctor(IPA.Config.Stores.ValueConverter%7B%600%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>
  173. </span>
  174. <span class="small pull-right mobile-hide">
  175. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L452">View Source</a>
  176. </span>
  177. <a id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.#ctor*"></a>
  178. <h4 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1__ctor_IPA_Config_Stores_ValueConverter__0__" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.#ctor(IPA.Config.Stores.ValueConverter{`0})">IReadOnlyDictionaryConverter(ValueConverter&lt;TValue&gt;)</h4>
  179. <div class="markdown level1 summary"><p>Constructs an <a class="xref" href="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html">IReadOnlyDictionaryConverter&lt;TValue&gt;</a> using the specified converter for the value.</p>
  180. </div>
  181. <div class="markdown level1 conceptual"></div>
  182. <h5 class="decalaration">Declaration</h5>
  183. <div class="codewrapper">
  184. <pre><code class="lang-csharp hljs">public IReadOnlyDictionaryConverter(ValueConverter&lt;TValue&gt; converter)</code></pre>
  185. </div>
  186. <h5 class="parameters">Parameters</h5>
  187. <table class="table table-bordered table-striped table-condensed">
  188. <thead>
  189. <tr>
  190. <th>Type</th>
  191. <th>Name</th>
  192. <th>Description</th>
  193. </tr>
  194. </thead>
  195. <tbody>
  196. <tr>
  197. <td><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter</a>&lt;TValue&gt;</td>
  198. <td><span class="parametername">converter</span></td>
  199. <td><p>the converter for the value</p>
  200. </td>
  201. </tr>
  202. </tbody>
  203. </table>
  204. <h3 id="properties">Properties
  205. </h3>
  206. <span class="small pull-right mobile-hide">
  207. <span class="divider">|</span>
  208. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_BaseConverter.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601.BaseConverter%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>
  209. </span>
  210. <span class="small pull-right mobile-hide">
  211. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L442">View Source</a>
  212. </span>
  213. <a id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_BaseConverter_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.BaseConverter*"></a>
  214. <h4 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_BaseConverter" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.BaseConverter">BaseConverter</h4>
  215. <div class="markdown level1 summary"><p>Gets the converter for the dictionary&apos;s value type.</p>
  216. </div>
  217. <div class="markdown level1 conceptual"></div>
  218. <h5 class="decalaration">Declaration</h5>
  219. <div class="codewrapper">
  220. <pre><code class="lang-csharp hljs">protected ValueConverter&lt;TValue&gt; BaseConverter { get; }</code></pre>
  221. </div>
  222. <h5 class="propertyValue">Property Value</h5>
  223. <table class="table table-bordered table-striped table-condensed">
  224. <thead>
  225. <tr>
  226. <th>Type</th>
  227. <th>Description</th>
  228. </tr>
  229. </thead>
  230. <tbody>
  231. <tr>
  232. <td><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter</a>&lt;TValue&gt;</td>
  233. <td></td>
  234. </tr>
  235. </tbody>
  236. </table>
  237. <h3 id="methods">Methods
  238. </h3>
  239. <span class="small pull-right mobile-hide">
  240. <span class="divider">|</span>
  241. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_FromValue_IPA_Config_Data_Value_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601.FromValue(IPA.Config.Data.Value%2CSystem.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>
  242. </span>
  243. <span class="small pull-right mobile-hide">
  244. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L461">View Source</a>
  245. </span>
  246. <a id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_FromValue_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.FromValue*"></a>
  247. <h4 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_FromValue_IPA_Config_Data_Value_System_Object_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.FromValue(IPA.Config.Data.Value,System.Object)">FromValue(Value, Object)</h4>
  248. <div class="markdown level1 summary"><p>Converts a <a class="xref" href="IPA.Config.Data.Map.html">Map</a> to an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary&lt;TKey,TValue&gt;</a> that is represented by it.</p>
  249. </div>
  250. <div class="markdown level1 conceptual"></div>
  251. <h5 class="decalaration">Declaration</h5>
  252. <div class="codewrapper">
  253. <pre><code class="lang-csharp hljs">public override IReadOnlyDictionary&lt;string, TValue&gt; FromValue(Value value, object parent)</code></pre>
  254. </div>
  255. <h5 class="parameters">Parameters</h5>
  256. <table class="table table-bordered table-striped table-condensed">
  257. <thead>
  258. <tr>
  259. <th>Type</th>
  260. <th>Name</th>
  261. <th>Description</th>
  262. </tr>
  263. </thead>
  264. <tbody>
  265. <tr>
  266. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  267. <td><span class="parametername">value</span></td>
  268. <td><p>the <a class="xref" href="IPA.Config.Data.Map.html">Map</a> to convert</p>
  269. </td>
  270. </tr>
  271. <tr>
  272. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></td>
  273. <td><span class="parametername">parent</span></td>
  274. <td><p>the parent that will own the resulting object</p>
  275. </td>
  276. </tr>
  277. </tbody>
  278. </table>
  279. <h5 class="returns">Returns</h5>
  280. <table class="table table-bordered table-striped table-condensed">
  281. <thead>
  282. <tr>
  283. <th>Type</th>
  284. <th>Description</th>
  285. </tr>
  286. </thead>
  287. <tbody>
  288. <tr>
  289. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>, TValue&gt;</td>
  290. <td><p>the deserialized dictionary</p>
  291. </td>
  292. </tr>
  293. </tbody>
  294. </table>
  295. <h5 class="overrides">Overrides</h5>
  296. <div><span class="xref">IPA.Config.Stores.ValueConverter&lt;System.Collections.Generic.IReadOnlyDictionary&lt;System.String, TValue&gt;&gt;.FromValue(IPA.Config.Data.Value, System.Object)</span></div>
  297. <span class="small pull-right mobile-hide">
  298. <span class="divider">|</span>
  299. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_ToValue_System_Collections_Generic_IReadOnlyDictionary_System_String__0__System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601.ToValue(System.Collections.Generic.IReadOnlyDictionary%7BSystem.String%2C%600%7D%2CSystem.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>
  300. </span>
  301. <span class="small pull-right mobile-hide">
  302. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L472">View Source</a>
  303. </span>
  304. <a id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_ToValue_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.ToValue*"></a>
  305. <h4 id="IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1_ToValue_System_Collections_Generic_IReadOnlyDictionary_System_String__0__System_Object_" data-uid="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter`1.ToValue(System.Collections.Generic.IReadOnlyDictionary{System.String,`0},System.Object)">ToValue(IReadOnlyDictionary&lt;String, TValue&gt;, Object)</h4>
  306. <div class="markdown level1 summary"><p>Serializes an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary&lt;TKey,TValue&gt;</a> into a <a class="xref" href="IPA.Config.Data.Map.html">Map</a> containing its values.</p>
  307. </div>
  308. <div class="markdown level1 conceptual"></div>
  309. <h5 class="decalaration">Declaration</h5>
  310. <div class="codewrapper">
  311. <pre><code class="lang-csharp hljs">public override Value ToValue(IReadOnlyDictionary&lt;string, TValue&gt; obj, object parent)</code></pre>
  312. </div>
  313. <h5 class="parameters">Parameters</h5>
  314. <table class="table table-bordered table-striped table-condensed">
  315. <thead>
  316. <tr>
  317. <th>Type</th>
  318. <th>Name</th>
  319. <th>Description</th>
  320. </tr>
  321. </thead>
  322. <tbody>
  323. <tr>
  324. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a>, TValue&gt;</td>
  325. <td><span class="parametername">obj</span></td>
  326. <td><p>the dictionary to serialize</p>
  327. </td>
  328. </tr>
  329. <tr>
  330. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></td>
  331. <td><span class="parametername">parent</span></td>
  332. <td><p>the object that owns the dictionary</p>
  333. </td>
  334. </tr>
  335. </tbody>
  336. </table>
  337. <h5 class="returns">Returns</h5>
  338. <table class="table table-bordered table-striped table-condensed">
  339. <thead>
  340. <tr>
  341. <th>Type</th>
  342. <th>Description</th>
  343. </tr>
  344. </thead>
  345. <tbody>
  346. <tr>
  347. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  348. <td><p>the dictionary serialized as a <a class="xref" href="IPA.Config.Data.Map.html">Map</a></p>
  349. </td>
  350. </tr>
  351. </tbody>
  352. </table>
  353. <h5 class="overrides">Overrides</h5>
  354. <div><span class="xref">IPA.Config.Stores.ValueConverter&lt;System.Collections.Generic.IReadOnlyDictionary&lt;System.String, TValue&gt;&gt;.ToValue(System.Collections.Generic.IReadOnlyDictionary&lt;System.String, TValue&gt;, System.Object)</span></div>
  355. <h3 id="implements">Implements</h3>
  356. <div>
  357. <a class="xref" href="IPA.Config.Stores.IValueConverter.html">IValueConverter</a>
  358. </div>
  359. <h3 id="extensionmethods">Extension Methods</h3>
  360. <div>
  361. <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>
  362. </div>
  363. <div>
  364. <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>
  365. </div>
  366. <div>
  367. <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>
  368. </div>
  369. <div>
  370. <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>
  371. </div>
  372. <div>
  373. <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>
  374. </div>
  375. </article>
  376. </div>
  377. <div class="hidden-sm col-md-2" role="complementary">
  378. <div class="sideaffix">
  379. <div class="contribution">
  380. <ul class="nav">
  381. <li>
  382. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Config_Stores_Converters_IReadOnlyDictionaryConverter_1.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter%601%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>
  383. </li>
  384. <li>
  385. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Config/Stores/Converters.cs/#L437" class="contribution-link">View Source</a>
  386. </li>
  387. </ul>
  388. </div>
  389. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  390. <h5>In This Article</h5>
  391. <div></div>
  392. </nav>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. <footer>
  398. <div class="grad-bottom"></div>
  399. <div class="footer">
  400. <div class="container">
  401. <span class="pull-right">
  402. <a href="#top">Back to top</a>
  403. </span>
  404. <span>Generated by <strong>DocFX</strong></span>
  405. </div>
  406. </div>
  407. </footer>
  408. </div>
  409. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  410. <script type="text/javascript" src="../styles/docfx.js"></script>
  411. <script type="text/javascript" src="../styles/main.js"></script>
  412. </body>
  413. </html>