예제 #1
0
 public ExpressionSerializer(Serializers s)
 {
     serializer = new Serialize.Linq.Serializers.ExpressionSerializer(
         new ExprSerializer(s));
 }
예제 #2
0
 public ExprSerializer(Serializers s)
 {
     this.s = s;
 }
 public ArraySerializer(Serializers serializer, Type type)
 {
     this.ser    = serializer.FromDeclared(type.GetElementType());
     this.newObj = type.DelegateForCreateInstance(typeof(int));
     this.setter = type.DelegateForSetElement();
 }
 public Int32Serializer(Serializers s)
     : base(s)
 {
 }
 public EnumSerializer(Serializers s, Type type)
 {
     this.type       = type;
     this.underlying = Enum.GetUnderlyingType(type);
     this.serializer = s.Get(underlying);
 }
 public UnknownTypeSerializer(Serializers serializer, TypeMap type)
 {
     this.serializer = serializer;
     this.map        = type;
 }