mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-30 17:30:40 +00:00
29 lines
694 B
C#
29 lines
694 B
C#
using Esiur.Data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Esiur.Resource
|
|
{
|
|
/// <summary>
|
|
/// Specifies non-default notification ordering for a property or event.
|
|
/// Absence of this attribute means strict ordering.
|
|
/// </summary>
|
|
[AttributeUsage(
|
|
AttributeTargets.Property |
|
|
AttributeTargets.Field |
|
|
AttributeTargets.Event,
|
|
AllowMultiple = false,
|
|
Inherited = true)]
|
|
public sealed class OrderingAttribute : Attribute
|
|
{
|
|
public OrderingControl Control { get; }
|
|
|
|
public OrderingAttribute(OrderingControl control)
|
|
{
|
|
Control = control;
|
|
}
|
|
}
|
|
|
|
}
|