/// <summary>
 /// On unobserving an element, pass the element
 /// reference to the action(s).
 /// </summary>
 /// <param name="elementRef">The element to unobserve</param>
 public void Unobserve(ElementRef elementRef)
 {
     OnUnobserve?.Invoke(this.Id, elementRef);
 }
Пример #2
0
 /// <summary>
 /// On unobserving an element, pass the element
 /// reference to the action(s).
 /// </summary>
 /// <param name="elementRef">The element to unobserve</param>
 public async ValueTask Unobserve(ElementReference elementRef)
 {
     await(OnUnobserve.Invoke(this.Id, elementRef));
 }