Talk:ReflectedObject

Nice little helper class but wouldn't it be much easier to use a generic function instead of those seperate TryGetField... functions?

public T TryGetField(string fieldName, ref T result) {       if (GetFieldType(fieldName) == typeof(T)) {           result = (T)GetFieldValue(fieldName); return true; }       return false; }

--Bunny83 16:10, 15 July 2011 (PDT)