Exemplo n.º 1
0
        BaseField CreateElementField(int i)
        {
            object eleValue = ReflectionUtils.InvokeMethod(m_Value, "GetValue", new object[] { i });

            return(BaseField.Create(eleValue, m_Type.GetElementType(), "Element " + i, m_Deep + 1));
        }
Exemplo n.º 2
0
 public override void Init()
 {
     m_Impl = BaseField.Create(m_Value, m_Type, m_Label, m_Deep);
 }
Exemplo n.º 3
0
        BaseField CreateElementField(MemberInfo info)
        {
            object eleValue = ReflectionUtils.GetValue(info, m_Value);

            return(BaseField.Create(eleValue, ReflectionUtils.GetFieldOrPropertyType(info), info.Name, m_Deep + 1));
        }