using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Components.Web; namespace AntDesign { public class DrawerClosingEventArgs { private bool _rejected; public DrawerClosingEventArgs() { } public DrawerClosingEventArgs(bool reject) { _rejected = reject; } internal bool Rejected { get => _rejected; } /// /// Reject to close /// public void Reject() { _rejected = true; } } }