internal override IAsyncWriter <T> CreateAsyncWriter(IAsyncWriterAdapter writer, object context = null)
        {
            var ret = InnerConfig.CreateAsyncWriter(writer, context);

            Set(ret as ITestableAsyncProvider);

            return(ret);
        }
Beispiel #2
0
 internal AsyncWriter(ConcreteBoundConfiguration <T> config, IAsyncWriterAdapter inner, object?context) : base(config, inner, context)
 {
 }
Beispiel #3
0
 internal AsyncWriterBase(BoundConfigurationBase <T> config, IAsyncWriterAdapter inner, object?context) : base(config, context)
 {
     Inner = inner;
 }
Beispiel #4
0
 internal abstract IAsyncWriter <T> CreateAsyncWriter(IAsyncWriterAdapter writer, object?context = null);
        internal override AsyncWriter <T> CreateAsyncWriter(IAsyncWriterAdapter inner, object?context = null)
        {
            AssertCanMakeWriter();

            return(new AsyncWriter <T>(this, inner, context));
        }
 internal override AsyncDynamicWriter CreateAsyncWriter(IAsyncWriterAdapter writer, object?context = null)
 {
     return(new AsyncDynamicWriter(this, writer, context));
 }