I'm 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;
}
});
Is there any other way to merge Identifier
condition as well?