<PackageReference Include="System.Reactive" Version="6.0.1-preview.1" />

Concat<TSource>

sealed class Concat<TSource> : Producer<TSource, _<TSource>>, IConcatenatable<TSource>
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace System.Reactive.Linq.ObservableImpl { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1, 1, 1 })] internal sealed class Concat<[System.Runtime.CompilerServices.Nullable(2)] TSource> : Producer<TSource, Concat<TSource>._>, IConcatenatable<TSource> { [System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1 })] internal sealed class _ : ConcatSink<TSource> { public _(IObserver<TSource> observer) : base(observer) { } } private readonly IEnumerable<IObservable<TSource>> _sources; public Concat(IEnumerable<IObservable<TSource>> sources) { _sources = sources; } [return: System.Runtime.CompilerServices.Nullable(new byte[] { 1, 0 })] protected override _ CreateSink(IObserver<TSource> observer) { return new _(observer); } protected override void Run([System.Runtime.CompilerServices.Nullable(new byte[] { 1, 0 })] _ sink) { sink.Run(_sources); } public IEnumerable<IObservable<TSource>> GetSources() { return _sources; } } }