using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KssSmaPlaLib.InBox { // インターフェース定義 public interface IFilterUxer { // 単一:候補がフィルタを通過できるか? bool CanPass(string candidate); // 複数:1件でも通過できるか?(ガード句向け) bool HasAnyPass(IEnumerable candidates); // 複数:通過したものだけを返す(既存流儀) IEnumerable ApplyFilter(IEnumerable candidates); } }