public static string GetValue( Mobile from, object o, string name )
{
string failReason = "";
PropertyInfo[] chain = GetPropertyInfoChain( from, o.GetType(), name, PropertyAccess.Read, ref failReason );
if ( chain == null || chain.Length == 0 )
return failReason;
PropertyInfo p = GetPropertyInfo( ref o, chain, ref failReason );
if ( p == null )
return failReason;
return InternalGetValue( o, p, chain );
}