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.
 
 
 
 

199 lines
14 KiB

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content=" ">
<meta name="generator" content="docfx 2.59.4.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<link rel="stylesheet" href="../styles/fix.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
<meta property="docfx:newtab" content="true">
</head> <body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="IPA.Config.Stores.Converters">
<h1 id="IPA_Config_Stores_Converters" data-uid="IPA.Config.Stores.Converters" class="text-break"></h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
<h3 id="classes">Classes
</h3>
<h4><a class="xref" href="IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html">CaseInsensitiveEnumConverter&lt;T&gt;</a></h4>
<section><p>A converter for an enum of type <code data-dev-comment-type="typeparamref" class="typeparamref">T</code>, that converts the enum to its string representation and back,
ignoring the case of the serialized value for deseiralization.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter&lt;T, TCollection&gt;</a></h4>
<section><p>A base class for all <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection&lt;T&gt;</a> type converters, providing most of the functionality.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-3.html">CollectionConverter&lt;T, TCollection, TConverter&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter&lt;T, TCollection&gt;</a> which default constructs a converter for use as the value converter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.Converter.html">Converter</a></h4>
<section><p>Provides utility functions for custom converters.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.Converter-1.html">Converter&lt;T&gt;</a></h4>
<section><p>Provides generic utilities for converters for certain types.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.CustomObjectConverter-1.html">CustomObjectConverter&lt;T&gt;</a></h4>
<section><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>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html">CustomValueTypeConverter&lt;T&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.ValueConverter-1.html">ValueConverter&lt;T&gt;</a> for custom value types, serialized identically to the reference types serialized with
<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>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.DictionaryConverter-1.html">DictionaryConverter&lt;TValue&gt;</a></h4>
<section><p>A converter for instances of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary&lt;TKey,TValue&gt;</a>.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.DictionaryConverter-2.html">DictionaryConverter&lt;TValue, TConverter&gt;</a></h4>
<section><p>A converter for instances of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary&lt;TKey,TValue&gt;</a>, specifying a value converter as a type parameter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.EnumConverter-1.html">EnumConverter&lt;T&gt;</a></h4>
<section><p>A converter for an enum of type <code data-dev-comment-type="typeparamref" class="typeparamref">T</code>, that converts the enum to its string representation and back.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.HexColorConverter.html">HexColorConverter</a></h4>
<section><p>A converter for <span class="xref">UnityEngine.Color</span> objects.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IDictionaryConverter-1.html">IDictionaryConverter&lt;TValue&gt;</a></h4>
<section><p>A converter for instances of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary&lt;TKey,TValue&gt;</a>.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IDictionaryConverter-2.html">IDictionaryConverter&lt;TValue, TConverter&gt;</a></h4>
<section><p>A converter for instances of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary&lt;TKey,TValue&gt;</a>, specifying a value converter as a type parameter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IListConverter-1.html">IListConverter&lt;T&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter&lt;T, TCollection&gt;</a> for an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a>, creating a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> when deserializing.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IListConverter-2.html">IListConverter&lt;T, TConverter&gt;</a></h4>
<section><p>An <a class="xref" href="IPA.Config.Stores.Converters.IListConverter-1.html">IListConverter&lt;T&gt;</a> which default constructs a converter for use as the value converter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html">IReadOnlyDictionaryConverter&lt;TValue&gt;</a></h4>
<section><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>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html">IReadOnlyDictionaryConverter&lt;TValue, TConverter&gt;</a></h4>
<section><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>, specifying a value converter as a type parameter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-1.html">ISetConverter&lt;T&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter&lt;T, TCollection&gt;</a> for an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.iset-1">ISet&lt;T&gt;</a>, creating a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1">HashSet&lt;T&gt;</a> when deserializing.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.ISetConverter-2.html">ISetConverter&lt;T, TConverter&gt;</a></h4>
<section><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>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.ListConverter-1.html">ListConverter&lt;T&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.Converters.CollectionConverter-2.html">CollectionConverter&lt;T, TCollection&gt;</a> for a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a>.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.ListConverter-2.html">ListConverter&lt;T, TConverter&gt;</a></h4>
<section><p>A <a class="xref" href="IPA.Config.Stores.Converters.ListConverter-1.html">ListConverter&lt;T&gt;</a> which default constructs a converter for use as the value converter.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.NullableConverter-1.html">NullableConverter&lt;T&gt;</a></h4>
<section><p>A converter for a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.nullable-1">Nullable&lt;T&gt;</a>.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.NullableConverter-2.html">NullableConverter&lt;T, TConverter&gt;</a></h4>
<section><p>A converter for a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.nullable-1">Nullable&lt;T&gt;</a> that default-constructs a converter of type <code data-dev-comment-type="typeparamref" class="typeparamref">TConverter</code>
to use as the underlying converter. Use this in the <a class="xref" href="IPA.Config.Stores.Attributes.UseConverterAttribute.html">UseConverterAttribute</a>.</p>
</section>
<h4><a class="xref" href="IPA.Config.Stores.Converters.NumericEnumConverter-1.html">NumericEnumConverter&lt;T&gt;</a></h4>
<section><p>A converter for an enum of type <code data-dev-comment-type="typeparamref" class="typeparamref">T</code>, that converts the enum to its underlying value for serialization.</p>
</section>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>