Files
Future/Future.Contract/IFuture.cs
2025-08-30 17:19:57 +08:00

29 lines
820 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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