mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			563 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			563 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
 | 
						|
namespace Kyoo.Models.Attributes
 | 
						|
{
 | 
						|
	/// <summary>
 | 
						|
	/// Specify that a property can't be merged.
 | 
						|
	/// </summary>
 | 
						|
	[AttributeUsage(AttributeTargets.Property)]
 | 
						|
	public class NotMergeableAttribute : Attribute { }
 | 
						|
 | 
						|
	/// <summary>
 | 
						|
	/// An interface with a method called when this object is merged.
 | 
						|
	/// </summary>
 | 
						|
	public interface IOnMerge
 | 
						|
	{
 | 
						|
		/// <summary>
 | 
						|
		/// This function is called after the object has been merged.
 | 
						|
		/// </summary>
 | 
						|
		/// <param name="merged">The object that has been merged with this.</param>
 | 
						|
		void OnMerge(object merged);
 | 
						|
	}
 | 
						|
} |