答案是有的,C#中提供了一种叫事件访问器(Event Accessor)的东西,它用来封装委托变量。如下面例子所示:
基于24个网页-相关网页
event accessor
事件访问器
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Gets or sets a value that specifies the kind of event accessor method the host application will use for this event in the proxy type.
获取或设置一个值,该值指定宿主应用程序要用于代理类型中的此事件的事件访问器方法的类型。
youdao
应用推荐
模块上移
模块下移
不移动