using System.Threading.Tasks; using EventPartnerGatherRequests; namespace EventPartnerGather { /// /// AutoMatchController 依赖的最小管理器能力。 /// public interface IAutoMatchManagerContext { int EventId { get; } bool ShouldCloseAutoMatch { get; } bool IsAutoMatchEnabled { get; } void SetAutoMatchEnabled(bool enabled); Task FetchAndProcessAutoMatchStatus(bool force = true); Task ControlAutoMatch(bool enable); void NotifyAutoMatchStopped(); void NotifyAutoMatchFailed(string reason); } }