コード例 #1
0
ファイル: Program.cs プロジェクト: thomasraynal/Rxplayground
        private void BehaviorSubject()
        {
            var subject = new BehaviorSubject <State>(State.INACTIVE);

            subject.LogToConsole();
            subject.OnNext(State.ACTIVE);
            subject.LogToConsole();
        }