public PropertyValueDeserializerNode(IDeserializerNode parent, PropertySpec property) { this.parent = parent; this.property = property; this.valueType = property.PropertyType; this.context = parent.Context; }
public ItemValueDeserializerNode(TypeSpec expectedBaseType, IDeserializationContext context, string expandPath = "", IDeserializerNode parent = null) { this.parent = parent; this.expectedBaseType = expectedBaseType; this.context = context; this.expandPath = expandPath; valueType = expectedBaseType; }
public ItemValueSerializerNode(object value, TypeSpec expectedBaseType, string expandPath, ISerializationContext context, ISerializerNode parentNode, bool isRemoved = false) : base(expectedBaseType, expandPath, context, parentNode, isRemoved) { Value = value; }
public ItemValueSerializerNode( object value, TypeSpec expectedBaseType, string expandPath, ISerializationContext context, ISerializerNode parentNode, bool isRemoved = false) { this.value = value; this.expectedBaseType = expectedBaseType; this.expandPath = expandPath; this.context = context; this.parentNode = parentNode; this.isRemoved = isRemoved; }
protected SerializerNode(TypeSpec expectedBaseType, string expandPath, ISerializationContext context, ISerializerNode parentNode, bool isRemoved = false) { ExpectedBaseType = expectedBaseType; ExpandPath = expandPath; Context = context; ParentNode = parentNode; IsRemoved = isRemoved; }
public void SetValueType(TypeSpec type) { valueType = context.GetClassMapping(type); }
public void SetValueType(string typeName) { valueType = context.GetTypeByName(typeName); }
public void SetValueType(string typeName) { this.valueType = Context.GetTypeByName(typeName); }