public SubTypeSerializer(IPartialSerializer <BaseType> baseTypeSerializer, IFieldCodec <string> stringCodec, IFieldCodec <int> intCodec, IFieldCodec <object> objectCodec) { _baseTypeSerializer = HagarGeneratedCodeHelper.UnwrapService(this, baseTypeSerializer); _stringCodec = HagarGeneratedCodeHelper.UnwrapService(this, stringCodec); _intCodec = HagarGeneratedCodeHelper.UnwrapService(this, intCodec); _objectCodec = HagarGeneratedCodeHelper.UnwrapService(this, objectCodec); }
public KeyValuePairCodec(IFieldCodec <TKey> keyCodec, IFieldCodec <TValue> valueCodec) { _keyCodec = HagarGeneratedCodeHelper.UnwrapService(this, keyCodec); _valueCodec = HagarGeneratedCodeHelper.UnwrapService(this, valueCodec); }
public ListCodec(IFieldCodec <T> fieldCodec, ListActivator <T> activator) { this.fieldCodec = HagarGeneratedCodeHelper.UnwrapService(this, fieldCodec); this.activator = activator; }
public MultiDimensionalArrayCodec(IFieldCodec <int[]> intArrayCodec, IFieldCodec <T> elementCodec) { this.intArrayCodec = HagarGeneratedCodeHelper.UnwrapService(this, intArrayCodec); this.elementCodec = HagarGeneratedCodeHelper.UnwrapService(this, elementCodec); }
public ArrayCodec(IFieldCodec <T> fieldCodec) { this.fieldCodec = HagarGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
public Serializer(ITypedCodecProvider codecProvider) { this.expectedType = typeof(T); this.codec = HagarGeneratedCodeHelper.UnwrapService(null, codecProvider.GetCodec <T>()); }
public TupleCodec(IFieldCodec <T> valueCodec) { _valueCodec = HagarGeneratedCodeHelper.UnwrapService(this, valueCodec); }
public QueueCodec(IFieldCodec <T> fieldCodec) { _fieldCodec = HagarGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
public ReadOnlyMemoryCodec(IFieldCodec <T> fieldCodec) { _fieldCodec = HagarGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
public ValueSerializer(IValueSerializerProvider provider) { this.serializer = HagarGeneratedCodeHelper.UnwrapService(this, provider.GetValueSerializer <TField>()); }
public PooledResponseCodec(IFieldCodec <Exception> exceptionCodec, IFieldCodec <TResult> resultCodec) { _exceptionCodec = HagarGeneratedCodeHelper.UnwrapService(this, exceptionCodec); _resultCodec = HagarGeneratedCodeHelper.UnwrapService(this, resultCodec); }