常用方法
常用方法
常用方法
常用方法
private void BehaviorSubject() { var subject = new BehaviorSubject <State>(State.INACTIVE); subject.LogToConsole(); subject.OnNext(State.ACTIVE); subject.LogToConsole(); }
private void BehaviorSubject() { var subject = new BehaviorSubject <State>(State.INACTIVE); subject.LogToConsole(); subject.OnNext(State.ACTIVE); subject.LogToConsole(); }