public string ToString(string format, IFormatProvider formatProvider)
{
object value = Dereference();
if (value == null)
{
return string.Empty;
}
if (value is ISource)
{
value = ((ISource)value).GetItem();
}
return value is IFormattable
? ((IFormattable)value).ToString(format, formatProvider)
: value.ToString();
}