wip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user