将以往的代码复制到代码库

This commit is contained in:
于智纯
2025-08-30 17:19:57 +08:00
parent da46e0242d
commit 20ea70bf64
198 changed files with 10075 additions and 0 deletions

View 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
}
}