namespace BepInEx.Configuration
{
///
/// Base type of all classes represeting and enforcing acceptable values of config settings.
///
public abstract class AcceptableValueBase
{
///
/// Change the value to be acceptable, if it's not already.
///
public abstract object Clamp(object value);
///
/// Check if the value is an acceptable value.
///
public abstract bool IsValid(object value);
///
/// Get the string for use in config files.
///
public abstract string ToSerializedString();
}
}