Exemplo n.º 1
0
 // Used when reading a schema and the member was not found
 public SchemaMember(string persistentName)
 {
     PersistentName = persistentName;
     _member        = default;
 }
Exemplo n.º 2
0
 // Used when reading a schema and the member was not found
 public SchemaMember(string persistentName)
 {
     PersistentName        = persistentName;
     Member                = default;
     ReadonlyFieldHandling = ReadonlyFieldHandling.Off;
 }
Exemplo n.º 3
0
        public bool               IsSkip => MemberInfo == null; // If this is true, then member and override formatter are not used; while reading the element is skipped (by reading its size)

        public SchemaMember(string persistentName, SerializedMember serializedMember)
        {
            PersistentName = persistentName;
            _member        = serializedMember;
        }
Exemplo n.º 4
0
        // public IFormatter OverrideFormatter;


        public SchemaMember(string persistentName, SerializedMember serializedMember, ReadonlyFieldHandling readonlyFieldHandling)
        {
            PersistentName        = persistentName;
            Member                = serializedMember;
            ReadonlyFieldHandling = readonlyFieldHandling;
        }