This commit is contained in:
TheXamlGuy
2024-05-06 21:17:20 +01:00
parent 40845bb5b3
commit ff8e97f030
13 changed files with 145 additions and 26 deletions
+7 -1
View File
@@ -1,7 +1,13 @@
namespace Toolkit.Foundation;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
public class NotificationAttribute(object key) : Attribute
{
public object Key => key;
}
public class EnumerateAttribute(object key,
EnumerateMode mode = EnumerateMode.Reset) : NotificationAttribute(key)
{
public EnumerateMode Mode => mode;
}