mirror of
				https://github.com/Biarity/Sieve.git
				synced 2025-11-04 02:39:00 +01: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; }
 | 
						|
    }
 | 
						|
}
 |