using System; namespace BepInEx.Configuration { /// /// A serializer/deserializer combo for some type(s). Used by the config system. /// public class TypeConverter { /// /// Used to serialize the type into a (hopefully) human-readable string. /// Object is the instance to serialize, Type is the object's type. /// public Func ConvertToString { get; set; } /// /// Used to deserialize the type from a string. /// String is the data to deserialize, Type is the object's type, should return instance to an object of Type. /// public Func ConvertToObject { get; set; } } }