Esempio n. 1
0
 public FlatArrayDataField(DataHolderDefinition dataHolder, string name, IGetterSetter accessor,
                           MemberInfo mappedMember, int length, IProducer arrProducer, INestedDataField parent) :
     base(dataHolder, name, accessor, mappedMember, parent, length, arrProducer)
 {
     m_ArrayAccessors = new FlatArrayAccessor[m_length];
     for (var i = 0; i < m_length; i++)
     {
         m_ArrayAccessors[i] = new FlatArrayAccessor(this, i);
     }
 }
Esempio n. 2
0
 public FlatArrayDataField(DataHolderDefinition dataHolder, string name, IGetterSetter accessor,
     MemberInfo mappedMember, int length, IProducer arrProducer, INestedDataField parent)
     : base(dataHolder, name, accessor, mappedMember, parent, length, arrProducer)
 {
     m_ArrayAccessors = new FlatArrayAccessor[m_length];
     for (var i = 0; i < m_length; i++)
     {
         m_ArrayAccessors[i] = new FlatArrayAccessor(this, i);
     }
 }