public override bool TryConvert(ConvertBinder binder, out object result)
{
if (binder.Type == typeof (string))
{
result = ToString();
return true;
}
try
{
result = Convert.ChangeType(RawConfig, binder.Type);
return true;
}
catch (InvalidCastException)
{
return base.TryConvert(binder, out result);
}
}