JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

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: