mirror of
https://github.com/Biarity/Sieve.git
synced 2025-04-07 12:59:36 +02:00
18 lines
422 B
C#
18 lines
422 B
C#
using Sieve.Models;
|
|
using System;
|
|
|
|
namespace Sieve.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
|
|
public class SieveAttribute : Attribute, ISievePropertyMetadata
|
|
{
|
|
/// <summary>
|
|
/// Override name used
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
public bool CanSort { get; set; }
|
|
public bool CanFilter { get; set; }
|
|
}
|
|
}
|