namespace AmrControl.Common { /// /// 代理处理类 /// public class Proxy { /// /// 执行器 /// private readonly Action _action; public Proxy(Action action) { _action = action; } /// /// 执行代理逻辑 /// public void Invoke() { _action(); } } }