コード例 #1
0
 internal AsyncDynamicReader(IAsyncReaderAdapter reader, DynamicBoundConfiguration config, object?context)
     : base(reader, config, context, new DynamicRowConstructor(), config.Options.ExtraColumnTreatment)
 {
     NameLookupReferenceCount = 0;
     NameLookup    = NameLookup.Empty;
     DelegateCache = new ConcurrentDictionary <object, Delegate>();
 }
コード例 #2
0
        internal override IAsyncReader <T> CreateAsyncReader(IAsyncReaderAdapter reader, object context = null)
        {
            var ret = InnerConfig.CreateAsyncReader(reader, context);

            Set(ret as ITestableAsyncProvider);

            return(ret);
        }
コード例 #3
0
ファイル: HeadersReader.cs プロジェクト: kevin-montrose/Cesil
 internal HeadersReader(
     ReaderStateMachine stateMachine,
     BoundConfigurationBase <T> config,
     CharacterLookup charLookup,
     IAsyncReaderAdapter inner,
     BufferWithPushback buffer,
     ReadRowEnding rowEndingOverride
     )
     : this(stateMachine, config, charLookup, null, inner, buffer, rowEndingOverride)
 {
 }
コード例 #4
0
 internal abstract IAsyncReader <T> CreateAsyncReader(IAsyncReaderAdapter reader, object?context = null);
コード例 #5
0
        internal override AsyncReader <T> CreateAsyncReader(IAsyncReaderAdapter inner, object?context = null)
        {
            AssertCanMakeReader();

            return(new AsyncReader <T>(inner, this, context, GetMutableRowBuilder()));
        }
コード例 #6
0
 internal RowEndingDetector(ReaderStateMachine stateMachine, Options options, MemoryPool <char> memPool, CharacterLookup charLookup, IAsyncReaderAdapter innerAsync, ReadOnlyMemory <char> valueSeparatorMemory)
     : this(stateMachine, options, memPool, charLookup, null, innerAsync, valueSeparatorMemory)
 {
 }
コード例 #7
0
ファイル: AsyncReader.cs プロジェクト: kevin-montrose/Cesil
 internal AsyncReader(IAsyncReaderAdapter inner, ConcreteBoundConfiguration <T> config, object?context, IRowConstructor <T> rowBuilder) : base(inner, config, context, rowBuilder, Utils.EffectiveColumnTreatmentForStatic(config))
 {
 }
コード例 #8
0
 internal AsyncReaderBase(IAsyncReaderAdapter reader, BoundConfigurationBase <T> config, object?context, IRowConstructor <T> rowBuilder, ExtraColumnTreatment extraTreatment) : base(config, context, rowBuilder, extraTreatment)
 {
     Inner = reader;
 }
コード例 #9
0
 internal override AsyncDynamicReader CreateAsyncReader(IAsyncReaderAdapter reader, object?context = null)
 {
     return(new AsyncDynamicReader(reader, this, context));
 }