// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Blazor.Components
{
///
/// Interface implemented by components that receive notification of their events.
///
public interface IHandleEvent
{
///
/// Notifies the component that one of its event handlers has been triggered.
///
/// The event binding.
/// Arguments for the event handler.
void HandleEvent(EventHandlerInvoker binding, UIEventArgs args);
}
}