Source/NFX/Serialization/POD/ReadingStrategy.cs
/// <summary>
/// Resolves a meta field definition into actual native field. Returns null wen resolution is not possible and field should be skipped
/// </summary>
Resolves a meta field definition into actual native field. Returns null wen resolution is not possible and field should be skipped
Resolves a meta field definition into actual native field . Returns null wen resolution is not possible and field should be skipped
public virtual FieldInfo ResolveField(Type nativeType, MetaComplexType.MetaField mfield)
        {
           var fname = mfield.FieldName;
           var fi = nativeType.GetField(fname, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
           if (fi.IsNotSerialized) return null;
           return fi;
        }
public virtual FieldInfo ResolveField ( Type nativeType , MetaComplexType . MetaField mfield ) { var fname = mfield . FieldName ; var fi = nativeType . GetField ( fname , BindingFlags . Instance | BindingFlags . NonPublic | BindingFlags . Public ) ; if ( fi . IsNotSerialized ) return null ; return fi ; }
Resolves a meta field definition into actual native field.
Resolves a meta field definition into actual native field .
nativeType
Type
mfield
MetaComplexType.MetaField