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.

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