Skip to main content
A newer version of this page is available. .

Missing Members

Implements interface members missing from the class.

Selectable items: members of base type to implement or override.

Options:

  • Property Style

    Values:

    • DefaultBody — generated properties return the value of corresponding properties from the base class or throw a NotImplementedException (selected by default);
    • Auto
    • BackingField.
  • Implement As

    Values:

    • Public (selected by default)
    • Explicit
    • Virtual
  • Default body content

    Values:

    • Throw NotImplementedException (selected by default)
    • Call undeclared method
    • Return default value
    • Return default value with TODO comment

Example

The screencast below shows how to use the Missing Members action in Declare Menu.

Compare