1 write to Delegate
Microsoft.AspNetCore.Components (1)
EventCallback.cs (1)
34
Delegate
= @delegate;
11 references to Delegate
Microsoft.AspNetCore.Components (11)
EventCallback.cs (8)
40
public bool HasDelegate =>
Delegate
!= null;
45
internal bool RequiresExplicitReceiver => Receiver != null && !object.ReferenceEquals(Receiver,
Delegate
?.Target);
57
return EventCallbackWorkItem.InvokeAsync<object?>(
Delegate
, arg);
60
return Receiver.HandleEventAsync(new EventCallbackWorkItem(
Delegate
), arg);
72
return RequiresExplicitReceiver ? (object)this :
Delegate
;
77
=> HashCode.Combine(RuntimeHelpers.GetHashCode(Receiver), RuntimeHelpers.GetHashCode(
Delegate
));
83
&& ReferenceEquals(
Delegate
, other.
Delegate
);
EventCallbackFactory.cs (1)
95
return new EventCallback<TValue>(callback.Receiver, callback.
Delegate
);
Rendering\RenderTreeBuilder.cs (1)
292
_entries.AppendAttribute(sequence, name, value.
Delegate
);
RenderTree\Renderer.cs (1)
513
var methodInfo = GetRequiredEventBindingEntry(eventHandlerId).Callback.
Delegate
?.Method;