13 lines
348 B
C#
13 lines
348 B
C#
namespace Toolkit.Foundation;
|
|
|
|
[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;
|
|
} |