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.

480 lines
26 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 CustomObjectConverter&lt;T&gt;
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class CustomObjectConverter&lt;T&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.CustomObjectConverter`1">
  74. <h1 id="IPA_Config_Stores_Converters_CustomObjectConverter_1" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1" class="text-break">Class CustomObjectConverter&lt;T&gt;
  75. </h1>
  76. <div class="markdown level0 summary"><p>A <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter&lt;T&gt;</a> for objects normally serialized to config via <a class="xref" href="IPA.Config.Stores.GeneratedExtension.html#IPA_Config_Stores_GeneratedExtension_Generated__1_IPA_Config_Config_System_Boolean_">Generated&lt;T&gt;(Config, Boolean)</a>.</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;T&gt;</div>
  83. <div class="level2"><span class="xref">CustomObjectConverter&lt;T&gt;</span></div>
  84. </div>
  85. <div classs="implements">
  86. <h5>Implements</h5>
  87. <div><a class="xref" href="IPA.Config.Stores.IValueConverter.html">IValueConverter</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <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;T&gt;.IValueConverter.ToValue(Object, Object)</a>
  93. </div>
  94. <div>
  95. <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;T&gt;.IValueConverter.FromValue(Value, Object)</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_IPA_Config_Stores_IValueConverter_Type">ValueConverter&lt;T&gt;.IValueConverter.Type</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
  105. </div>
  106. <div>
  107. <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>
  108. </div>
  109. <div>
  110. <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>
  111. </div>
  112. <div>
  113. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">Object.MemberwiseClone()</a>
  120. </div>
  121. </div>
  122. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Config.Stores.Converters.html">IPA.Config.Stores.Converters</a></h6>
  123. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  124. <h5 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_syntax">Syntax</h5>
  125. <div class="codewrapper">
  126. <pre><code class="lang-csharp hljs">public class CustomObjectConverter&lt;T&gt; : ValueConverter&lt;T&gt;, IValueConverter where T : class</code></pre>
  127. </div>
  128. <h5 class="typeParameters">Type Parameters</h5>
  129. <table class="table table-bordered table-striped table-condensed">
  130. <thead>
  131. <tr>
  132. <th>Name</th>
  133. <th>Description</th>
  134. </tr>
  135. </thead>
  136. <tbody>
  137. <tr>
  138. <td><span class="parametername">T</span></td>
  139. <td><p>the same type parameter that would be passed into <a class="xref" href="IPA.Config.Stores.GeneratedExtension.html#IPA_Config_Stores_GeneratedExtension_Generated__1_IPA_Config_Config_System_Boolean_">Generated&lt;T&gt;(Config, Boolean)</a></p>
  140. </td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. <h3 id="methods">Methods
  145. </h3>
  146. <span class="small pull-right mobile-hide">
  147. <span class="divider">|</span>
  148. <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_CustomObjectConverter_1_Deserialize_IPA_Config_Data_Value_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.CustomObjectConverter%601.Deserialize(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>
  149. </span>
  150. <span class="small pull-right mobile-hide">
  151. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/9705692cbf53e5b1f7667f378696cf6ea482054b/IPA.Loader/Config/Stores/CustomObjectConverter.cs/#L54">View Source</a>
  152. </span>
  153. <a id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Deserialize_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.Deserialize*"></a>
  154. <h4 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Deserialize_IPA_Config_Data_Value_System_Object_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.Deserialize(IPA.Config.Data.Value,System.Object)">Deserialize(Value, Object)</h4>
  155. <div class="markdown level1 summary"><p>Deserializes <code data-dev-comment-type="paramref" class="paramref">value</code> into a <code data-dev-comment-type="typeparamref" class="typeparamref">T</code> with the given <code data-dev-comment-type="paramref" class="paramref">parent</code>.</p>
  156. </div>
  157. <div class="markdown level1 conceptual"></div>
  158. <h5 class="decalaration">Declaration</h5>
  159. <div class="codewrapper">
  160. <pre><code class="lang-csharp hljs">public static T Deserialize(Value value, object parent)</code></pre>
  161. </div>
  162. <h5 class="parameters">Parameters</h5>
  163. <table class="table table-bordered table-striped table-condensed">
  164. <thead>
  165. <tr>
  166. <th>Type</th>
  167. <th>Name</th>
  168. <th>Description</th>
  169. </tr>
  170. </thead>
  171. <tbody>
  172. <tr>
  173. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  174. <td><span class="parametername">value</span></td>
  175. <td><p>the <a class="xref" href="IPA.Config.Data.Value.html">Value</a> to deserialize</p>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></td>
  180. <td><span class="parametername">parent</span></td>
  181. <td><p>the parent object that will own the deserialized value</p>
  182. </td>
  183. </tr>
  184. </tbody>
  185. </table>
  186. <h5 class="returns">Returns</h5>
  187. <table class="table table-bordered table-striped table-condensed">
  188. <thead>
  189. <tr>
  190. <th>Type</th>
  191. <th>Description</th>
  192. </tr>
  193. </thead>
  194. <tbody>
  195. <tr>
  196. <td><span class="xref">T</span></td>
  197. <td><p>the deserialized value</p>
  198. </td>
  199. </tr>
  200. </tbody>
  201. </table>
  202. <h5 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Deserialize_IPA_Config_Data_Value_System_Object__seealso">See Also</h5>
  203. <div class="seealso">
  204. <div><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_FromValue_IPA_Config_Data_Value_System_Object_">FromValue</a>(<a class="xref" href="IPA.Config.Data.Value.html">Value</a>, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>)</div>
  205. </div>
  206. <span class="small pull-right mobile-hide">
  207. <span class="divider">|</span>
  208. <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_CustomObjectConverter_1_FromValue_IPA_Config_Data_Value_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.CustomObjectConverter%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>
  209. </span>
  210. <span class="small pull-right mobile-hide">
  211. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/9705692cbf53e5b1f7667f378696cf6ea482054b/IPA.Loader/Config/Stores/CustomObjectConverter.cs/#L74">View Source</a>
  212. </span>
  213. <a id="IPA_Config_Stores_Converters_CustomObjectConverter_1_FromValue_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.FromValue*"></a>
  214. <h4 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_FromValue_IPA_Config_Data_Value_System_Object_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.FromValue(IPA.Config.Data.Value,System.Object)">FromValue(Value, Object)</h4>
  215. <div class="markdown level1 summary"><p>Deserializes <code data-dev-comment-type="paramref" class="paramref">value</code> into a <code data-dev-comment-type="typeparamref" class="typeparamref">T</code> with the given <code data-dev-comment-type="paramref" class="paramref">parent</code>.</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">public override T FromValue(Value value, object parent)</code></pre>
  221. </div>
  222. <h5 class="parameters">Parameters</h5>
  223. <table class="table table-bordered table-striped table-condensed">
  224. <thead>
  225. <tr>
  226. <th>Type</th>
  227. <th>Name</th>
  228. <th>Description</th>
  229. </tr>
  230. </thead>
  231. <tbody>
  232. <tr>
  233. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  234. <td><span class="parametername">value</span></td>
  235. <td><p>the <a class="xref" href="IPA.Config.Data.Value.html">Value</a> to deserialize</p>
  236. </td>
  237. </tr>
  238. <tr>
  239. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></td>
  240. <td><span class="parametername">parent</span></td>
  241. <td><p>the parent object that will own the deserialized value</p>
  242. </td>
  243. </tr>
  244. </tbody>
  245. </table>
  246. <h5 class="returns">Returns</h5>
  247. <table class="table table-bordered table-striped table-condensed">
  248. <thead>
  249. <tr>
  250. <th>Type</th>
  251. <th>Description</th>
  252. </tr>
  253. </thead>
  254. <tbody>
  255. <tr>
  256. <td><span class="xref">T</span></td>
  257. <td><p>the deserialized value</p>
  258. </td>
  259. </tr>
  260. </tbody>
  261. </table>
  262. <h5 class="overrides">Overrides</h5>
  263. <div><span class="xref">IPA.Config.Stores.ValueConverter&lt;T&gt;.FromValue(IPA.Config.Data.Value, System.Object)</span></div>
  264. <h5 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_FromValue_IPA_Config_Data_Value_System_Object__seealso">See Also</h5>
  265. <div class="seealso">
  266. <div><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_FromValue_IPA_Config_Data_Value_System_Object_">FromValue</a>(<a class="xref" href="IPA.Config.Data.Value.html">Value</a>, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>)</div>
  267. </div>
  268. <span class="small pull-right mobile-hide">
  269. <span class="divider">|</span>
  270. <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_CustomObjectConverter_1_Serialize__0_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.CustomObjectConverter%601.Serialize(%600%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>
  271. </span>
  272. <span class="small pull-right mobile-hide">
  273. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/9705692cbf53e5b1f7667f378696cf6ea482054b/IPA.Loader/Config/Stores/CustomObjectConverter.cs/#L64">View Source</a>
  274. </span>
  275. <a id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Serialize_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.Serialize*"></a>
  276. <h4 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Serialize__0_System_Object_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.Serialize(`0,System.Object)">Serialize(T, Object)</h4>
  277. <div class="markdown level1 summary"><p>Serializes <code data-dev-comment-type="paramref" class="paramref">obj</code> into a <a class="xref" href="IPA.Config.Data.Value.html">Value</a> structure, given <code data-dev-comment-type="paramref" class="paramref">parent</code>.</p>
  278. </div>
  279. <div class="markdown level1 conceptual"></div>
  280. <h5 class="decalaration">Declaration</h5>
  281. <div class="codewrapper">
  282. <pre><code class="lang-csharp hljs">public static Value Serialize(T obj, object parent)</code></pre>
  283. </div>
  284. <h5 class="parameters">Parameters</h5>
  285. <table class="table table-bordered table-striped table-condensed">
  286. <thead>
  287. <tr>
  288. <th>Type</th>
  289. <th>Name</th>
  290. <th>Description</th>
  291. </tr>
  292. </thead>
  293. <tbody>
  294. <tr>
  295. <td><span class="xref">T</span></td>
  296. <td><span class="parametername">obj</span></td>
  297. <td><p>the object to serialize</p>
  298. </td>
  299. </tr>
  300. <tr>
  301. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></td>
  302. <td><span class="parametername">parent</span></td>
  303. <td><p>the parent object that owns <code data-dev-comment-type="paramref" class="paramref">obj</code></p>
  304. </td>
  305. </tr>
  306. </tbody>
  307. </table>
  308. <h5 class="returns">Returns</h5>
  309. <table class="table table-bordered table-striped table-condensed">
  310. <thead>
  311. <tr>
  312. <th>Type</th>
  313. <th>Description</th>
  314. </tr>
  315. </thead>
  316. <tbody>
  317. <tr>
  318. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  319. <td><p>the <a class="xref" href="IPA.Config.Data.Value.html">Value</a> tree that represents <code data-dev-comment-type="paramref" class="paramref">obj</code></p>
  320. </td>
  321. </tr>
  322. </tbody>
  323. </table>
  324. <h5 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_Serialize__0_System_Object__seealso">See Also</h5>
  325. <div class="seealso">
  326. <div><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_ToValue__0_System_Object_">ToValue</a>(T, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>)</div>
  327. </div>
  328. <span class="small pull-right mobile-hide">
  329. <span class="divider">|</span>
  330. <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_CustomObjectConverter_1_ToValue__0_System_Object_.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.CustomObjectConverter%601.ToValue(%600%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>
  331. </span>
  332. <span class="small pull-right mobile-hide">
  333. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/9705692cbf53e5b1f7667f378696cf6ea482054b/IPA.Loader/Config/Stores/CustomObjectConverter.cs/#L84">View Source</a>
  334. </span>
  335. <a id="IPA_Config_Stores_Converters_CustomObjectConverter_1_ToValue_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.ToValue*"></a>
  336. <h4 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_ToValue__0_System_Object_" data-uid="IPA.Config.Stores.Converters.CustomObjectConverter`1.ToValue(`0,System.Object)">ToValue(T, Object)</h4>
  337. <div class="markdown level1 summary"><p>Serializes <code data-dev-comment-type="paramref" class="paramref">obj</code> into a <a class="xref" href="IPA.Config.Data.Value.html">Value</a> structure, given <code data-dev-comment-type="paramref" class="paramref">parent</code>.</p>
  338. </div>
  339. <div class="markdown level1 conceptual"></div>
  340. <h5 class="decalaration">Declaration</h5>
  341. <div class="codewrapper">
  342. <pre><code class="lang-csharp hljs">public override Value ToValue(T obj, object parent)</code></pre>
  343. </div>
  344. <h5 class="parameters">Parameters</h5>
  345. <table class="table table-bordered table-striped table-condensed">
  346. <thead>
  347. <tr>
  348. <th>Type</th>
  349. <th>Name</th>
  350. <th>Description</th>
  351. </tr>
  352. </thead>
  353. <tbody>
  354. <tr>
  355. <td><span class="xref">T</span></td>
  356. <td><span class="parametername">obj</span></td>
  357. <td><p>the object to serialize</p>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></td>
  362. <td><span class="parametername">parent</span></td>
  363. <td><p>the parent object that owns <code data-dev-comment-type="paramref" class="paramref">obj</code></p>
  364. </td>
  365. </tr>
  366. </tbody>
  367. </table>
  368. <h5 class="returns">Returns</h5>
  369. <table class="table table-bordered table-striped table-condensed">
  370. <thead>
  371. <tr>
  372. <th>Type</th>
  373. <th>Description</th>
  374. </tr>
  375. </thead>
  376. <tbody>
  377. <tr>
  378. <td><a class="xref" href="IPA.Config.Data.Value.html">Value</a></td>
  379. <td><p>the <a class="xref" href="IPA.Config.Data.Value.html">Value</a> tree that represents <code data-dev-comment-type="paramref" class="paramref">obj</code></p>
  380. </td>
  381. </tr>
  382. </tbody>
  383. </table>
  384. <h5 class="overrides">Overrides</h5>
  385. <div><span class="xref">IPA.Config.Stores.ValueConverter&lt;T&gt;.ToValue(T, System.Object)</span></div>
  386. <h5 id="IPA_Config_Stores_Converters_CustomObjectConverter_1_ToValue__0_System_Object__seealso">See Also</h5>
  387. <div class="seealso">
  388. <div><a class="xref" href="IPA.Config.Stores.ValueConverter-1.html#IPA_Config_Stores_ValueConverter_1_ToValue__0_System_Object_">ToValue</a>(T, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>)</div>
  389. </div>
  390. <h3 id="implements">Implements</h3>
  391. <div>
  392. <a class="xref" href="IPA.Config.Stores.IValueConverter.html">IValueConverter</a>
  393. </div>
  394. <h3 id="extensionmethods">Extension Methods</h3>
  395. <div>
  396. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetField_System_Object_System_String_System_Object_">ReflectionUtil.SetField(Object, String, Object)</a>
  397. </div>
  398. <div>
  399. <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>
  400. </div>
  401. <div>
  402. <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>
  403. </div>
  404. <div>
  405. <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>
  406. </div>
  407. <div>
  408. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetProperty_System_Object_System_String_System_Object_">ReflectionUtil.SetProperty(Object, String, Object)</a>
  409. </div>
  410. <div>
  411. <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>
  412. </div>
  413. <div>
  414. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod_System_Object_System_String_System_Object___">ReflectionUtil.InvokeMethod(Object, String, Object[])</a>
  415. </div>
  416. <div>
  417. <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>
  418. </div>
  419. <div>
  420. <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>
  421. </div>
  422. <div>
  423. <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>
  424. </div>
  425. <h3 id="seealso">See Also</h3>
  426. <div class="seealso">
  427. <div><a class="xref" href="IPA.Config.Stores.GeneratedExtension.html#IPA_Config_Stores_GeneratedExtension_Generated__1_IPA_Config_Config_System_Boolean_">Generated&lt;T&gt;</a>(<a class="xref" href="IPA.Config.Config.html">Config</a>, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a>)</div>
  428. </div>
  429. </article>
  430. </div>
  431. <div class="hidden-sm col-md-2" role="complementary">
  432. <div class="sideaffix">
  433. <div class="contribution">
  434. <ul class="nav">
  435. <li>
  436. <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_CustomObjectConverter_1.md&amp;value=---%0Auid%3A%20IPA.Config.Stores.Converters.CustomObjectConverter%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>
  437. </li>
  438. <li>
  439. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/9705692cbf53e5b1f7667f378696cf6ea482054b/IPA.Loader/Config/Stores/CustomObjectConverter.cs/#L11" class="contribution-link">View Source</a>
  440. </li>
  441. </ul>
  442. </div>
  443. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  444. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  445. </nav>
  446. </div>
  447. </div>
  448. </div>
  449. </div>
  450. <footer>
  451. <div class="grad-bottom"></div>
  452. <div class="footer">
  453. <div class="container">
  454. <span class="pull-right">
  455. <a href="#top">Back to top</a>
  456. </span>
  457. <span>Generated by <strong>DocFX</strong></span>
  458. </div>
  459. </div>
  460. </footer>
  461. </div>
  462. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  463. <script type="text/javascript" src="../styles/docfx.js"></script>
  464. <script type="text/javascript" src="../styles/main.js"></script>
  465. </body>
  466. </html>