public ObjectParser(Type type) { typeAlias = new TypeAlias(type); value = objParam = Expression.Parameter(typeof(object), "obj"); objectType = schemaType = type; hierarchyDepth = type.GetHierarchyDepth(); }
public ObjectParser(Type type) { typeAlias = new TypeAlias(type); value = objParam = Expression.Parameter(typeof(object), "obj"); objectType = schemaType = type; hierarchyDepth = type.GetHierarchyDepth(); }
public ObjectParser(Type type, ObjectBondedFactory bondedFactory) { typeAlias = new TypeAlias(type); value = objParam = Expression.Parameter(typeof(object), "obj"); objectType = schemaType = type; hierarchyDepth = type.GetHierarchyDepth(); this.bondedFactory = bondedFactory ?? NewBonded; }
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); }
public ObjectParser(Type type, ObjectBondedFactory bondedFactory) { typeAlias = new TypeAlias(type); value = objParam = Expression.Parameter(typeof(object), "obj"); objectType = schemaType = type; hierarchyDepth = type.GetHierarchyDepth(); this.bondedFactory = bondedFactory ?? NewBonded; }
ObjectParser(ObjectParser that, Expression value, Type schemaType) { typeAlias = that.typeAlias; objParam = that.objParam; this.value = value; this.schemaType = schemaType; objectType = value.Type; hierarchyDepth = schemaType.GetHierarchyDepth(); }
ObjectParser(ObjectParser that, Expression value, Type schemaType) { typeAlias = that.typeAlias; objParam = that.objParam; this.value = value; this.schemaType = schemaType; objectType = value.Type; hierarchyDepth = schemaType.GetHierarchyDepth(); }