I am trying to use WhenAny (Reactive UI) for the first time.
When a Identifier =="xyz" and a IsMax field get changes, want to set a local value to true in the subscribe,
this.WhenAny(x => x.IsMax, x => x.Value)
.Subscribe(x =>
{
if (Identifier == "xyz")
{
isOk = true;
}
});
but is there any other way to merge Identifier condition as well?
I'm not familiar with ReactiveUI, but if it uses the same IObservable as Reactive Extensions, then you could do this:
Is this what you wanted?
PS.: I should have asked this in a comment, but I haven't got enough reputation yet.