/// <summary> /// Initializes a new instance of the <see cref="ListCodec{T}"/> class. /// </summary> /// <param name="fieldCodec">The field codec.</param> /// <param name="activator">The activator.</param> public ListCodec(IFieldCodec <T> fieldCodec, ListActivator <T> activator) { _fieldCodec = OrleansGeneratedCodeHelper.UnwrapService(this, fieldCodec); _activator = activator; }
public MultiDimensionalArrayCopier(IDeepCopier <object> elementCopier) { _elementCopier = OrleansGeneratedCodeHelper.UnwrapService(this, elementCopier); }
public MultiDimensionalArrayCodec(IFieldCodec <int[]> intArrayCodec, IFieldCodec <T> elementCodec) { _intArrayCodec = OrleansGeneratedCodeHelper.UnwrapService(this, intArrayCodec); _elementCodec = OrleansGeneratedCodeHelper.UnwrapService(this, elementCodec); }
/// <summary> /// Initializes a new instance of the <see cref="QueueCodec{T}"/> class. /// </summary> /// <param name="fieldCodec">The field codec.</param> public QueueCodec(IFieldCodec <T> fieldCodec) { _fieldCodec = OrleansGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
/// <summary> /// Initializes a new instance of the <see cref="KeyValuePairCodec{TKey, TValue}"/> class. /// </summary> /// <param name="keyCodec">The key codec.</param> /// <param name="valueCodec">The value codec.</param> public KeyValuePairCodec(IFieldCodec <TKey> keyCodec, IFieldCodec <TValue> valueCodec) { _keyCodec = OrleansGeneratedCodeHelper.UnwrapService(this, keyCodec); _valueCodec = OrleansGeneratedCodeHelper.UnwrapService(this, valueCodec); }
public PooledResponseCodec(IFieldCodec <Exception> exceptionCodec, IFieldCodec <TResult> resultCodec) { _exceptionCodec = OrleansGeneratedCodeHelper.UnwrapService(this, exceptionCodec); _resultCodec = OrleansGeneratedCodeHelper.UnwrapService(this, resultCodec); }
/// <summary> /// Initializes a new instance of the <see cref="HashSetCodec{T}"/> class. /// </summary> /// <param name="fieldCodec">The field codec.</param> /// <param name="comparerCodec">The comparer codec.</param> public HashSetCodec(IFieldCodec <T> fieldCodec, IFieldCodec <IEqualityComparer <T> > comparerCodec) { _fieldCodec = OrleansGeneratedCodeHelper.UnwrapService(this, fieldCodec); _comparerCodec = comparerCodec; }
public ArraySegmentCopier(IDeepCopier <T> elementCopier) { _elementCopier = OrleansGeneratedCodeHelper.UnwrapService(this, elementCopier); }
public ArraySegmentCodec(IFieldCodec <T> fieldCodec) { _fieldCodec = OrleansGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
public ReadOnlyMemoryCopier(IDeepCopier <T> elementCopier) { _elementCopier = OrleansGeneratedCodeHelper.UnwrapService(this, elementCopier); }
public ReadOnlyMemoryCodec(IFieldCodec <T> fieldCodec) { _fieldCodec = OrleansGeneratedCodeHelper.UnwrapService(this, fieldCodec); }
public ValueTupleCodec(IFieldCodec <T> valueCodec) { _valueCodec = OrleansGeneratedCodeHelper.UnwrapService(this, valueCodec); }