Exemple #1
0
 internal FormatContext(ReadOnlyTypeFormatCollection formats, Type type, Expression buffer, Type concreteType = null)
 {
     this.Formats            = formats;
     this.Type               = type;
     this.Buffer             = buffer;
     this.DeserializableType = concreteType;
 }
Exemple #2
0
 internal FormatContextWithValue(ReadOnlyTypeFormatCollection formats, Type type, Expression buffer, Expression value, Type concreteType = null)
     : base(formats, type, buffer, concreteType)
 {
     this.Value = value;
 }