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

            Set(ret as ITestableAsyncProvider);

            return(ret);
        }
Example #2
0
 internal AsyncWriter(ConcreteBoundConfiguration <T> config, IAsyncWriterAdapter inner, object?context) : base(config, inner, context)
 {
 }
Example #3
0
 internal AsyncWriterBase(BoundConfigurationBase <T> config, IAsyncWriterAdapter inner, object?context) : base(config, context)
 {
     Inner = inner;
 }
Example #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));
 }