te
This commit is contained in:
parent
01151e679b
commit
57b2f0400e
265 changed files with 22828 additions and 6 deletions
26
Unused/Decal.Adapter/BaseEventAttribute.cs
Normal file
26
Unused/Decal.Adapter/BaseEventAttribute.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
|
||||
namespace Decal.Adapter;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
|
||||
public sealed class BaseEventAttribute : Attribute
|
||||
{
|
||||
private string eventName;
|
||||
|
||||
private string baseFilter;
|
||||
|
||||
public string EventName => eventName;
|
||||
|
||||
public string FilterName => baseFilter;
|
||||
|
||||
public BaseEventAttribute(string eventName)
|
||||
: this(eventName, string.Empty)
|
||||
{
|
||||
}
|
||||
|
||||
public BaseEventAttribute(string eventName, string baseFilter)
|
||||
{
|
||||
this.eventName = eventName;
|
||||
this.baseFilter = baseFilter;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue