RemovingAttributeEventArgs
Provides data for the RemovingAttribute event.
using AngleSharp.Dom;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Ganss.XSS
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class RemovingAttributeEventArgs : CancelEventArgs
{
public IElement Tag { get; set; }
public IAttr Attribute { get; set; }
public RemoveReason Reason { get; set; }
public RemovingAttributeEventArgs(IElement tag, IAttr attribute, RemoveReason reason)
{
Tag = tag;
Attribute = attribute;
Reason = reason;
}
}
}