public InvariantObjectComparer(InvariantObject source)
 {
     this.source = source;
     comparer    = EqualityComparer <T> .Default;
 }
 public bool DoesMatch(InvariantObject element)
 => comparer.Equals(Utils.ExpectExactType <T>(source.Value), Utils.ExpectExactType <T>(element.Value));
Beispiel #3
0
 public void Invoke(TEvent argument, InvariantObject callback)
 => Utils.ExecuteActionLike(callback.Value);