ant-design-blazor/components/core/JsInterop/DomEventSubscription.cs
Brian Ding 77af5a3dc7 refactor(JS Interop): reuse the global event listener (#466)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 11:13:36 +08:00

19 lines
366 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign.JsInterop
{
internal class DomEventSubscription
{
internal Delegate Delegate { get; set; }
public DomEventSubscription(Delegate @delegate)
{
Delegate = @delegate;
}
}
}