JetBrains Rider
 
2024.3
Get JetBrains Rider

Generate Delegating Members

Last modified: 26 May 2024

With JetBrains Rider, you can quickly generate members that delegate execution to public members (methods and properties) available through private fields and properties — in other words, publish the desired part of the interface of any private field or property in the containing type.

In the example below, this command is used to generate delegating members for the _center field: