将以往的代码复制到代码库
This commit is contained in:
		
							
								
								
									
										28
									
								
								Future.Contract/IFuture.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Future.Contract/IFuture.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
namespace Future.Contract
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// 用于使对象可以使用扩展方法快速实现一些平台所需要的特定功能
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public interface IFuture
 | 
			
		||||
    {
 | 
			
		||||
        #region 克隆与覆盖
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// 克隆当前对象
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <returns>克隆后的对象</returns>
 | 
			
		||||
        IFuture Clone();
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// 重置当前对象
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <param name="refer">参考源对象</param>
 | 
			
		||||
        /// <returns>如果源对象类型不是当前对象或是其子类类型则直接覆盖失败,返回False</returns>
 | 
			
		||||
        bool Cover(IFuture refer);
 | 
			
		||||
        #endregion
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user