wip
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
|
||||
public class NotificationAttribute(object key) : Attribute
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
|
||||
public class NotificationAttribute(Type type, object key) : Attribute
|
||||
{
|
||||
public Type Type => type;
|
||||
|
||||
public object Key => key;
|
||||
}
|
||||
Reference in New Issue
Block a user