mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			535 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			535 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
 | 
						|
namespace Kyoo.Models.Attributes
 | 
						|
{
 | 
						|
	[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
 | 
						|
	public class SerializeIgnoreAttribute : Attribute {}
 | 
						|
	
 | 
						|
	[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
 | 
						|
	public class DeserializeIgnoreAttribute : Attribute {}
 | 
						|
 | 
						|
	[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
 | 
						|
	public class SerializeAsAttribute : Attribute
 | 
						|
	{
 | 
						|
		public string Format { get; }
 | 
						|
		
 | 
						|
		public SerializeAsAttribute(string format)
 | 
						|
		{
 | 
						|
			Format = format;
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |