Esempio n. 1
0
        private void BehaviorSubject()
        {
            var subject = new BehaviorSubject <State>(State.INACTIVE);

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