Exemplo n.º 1
0
            public static void TestStateFeature()
            {
                ISubject <int> subject = new ReplaySubject <int>();

                subject.OnNext(1);
                subject.OnNext(2);

                subject.AttachConsoleHandlers();

                Helper.Pause();
                subject.OnNext(3);
                subject.AttachConsoleHandlers();

                Helper.Pause();
                subject.OnCompleted();
            }