Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Resharper 可以创建委托成员(Alt + Ins)
但是什么是委派成员?
我所做的大多数搜索都提出了无用的美国政治。
委托方法只是直接通过某些包含对象的方法。
例如:
class MyClass { private SomeType innerObj = new SomeType(); public Bar GetFoo() { return innerObj.GetFoo(); } }