示例#1
0
 protected PullParser(PullParser <T> that, RuntimeSchema schema, bool flatten)
 {
     Audit.ArgNotNull(that, "that");
     Audit.ArgRule(schema.HasValue, "PullParser requires runtime schema");
     this.schema  = schema;
     this.flatten = flatten;
 }
示例#2
0
        public IEnumerable <Expression <Func <R, object> > > Generate(IParser parser, Type type)
        {
            Audit.ArgNotNull(type, "type");

            typeAlias = new TypeAlias(type);
            Deserialize(parser, null, type, type, true);
            return(deserializeFuncs);
        }
示例#3
0
 public UntaggedParser(Type type, PayloadBondedFactory bondedFactory)
     : this(Schema.GetRuntimeSchema(type), bondedFactory)
 {
     Audit.ArgNotNull(type, "type");
 }
示例#4
0
 public UntaggedParser(Type type)
     : this(Schema.GetRuntimeSchema(type))
 {
     Audit.ArgNotNull(type, "type");
 }