Home > Code Generation > CodeRush code generation features for declaring types

CodeRush code generation features for declaring types

June 1st, 2012

The following code declaration features are available in CodeRush for generating new type declarations (in alphabetical order). Click on the name to learn more about a specific code provider.

Create Ancestor

Creates an ancestor class for an active type. Active type becomes a descendant of the created ancestor class.

Create Descendant

Creates a descendant class providing overrides for abstract members.

Create Descendant (with virtual overrides)

Creates a descendant class providing overrides for all abstract and virtual members.

Create Implementer (implicit)

Creates a class that implements an interface implicitly.

Create Implementer (explicit)

Creates a class that implements an interface explicitly.

Declare Attribute

Generates a new attribute class for an undeclared attribute.

Declare Class

Generates a new class for the type reference with an appropriate constructor.

Declare Class with Properties

Declares a new class with properties initialized to the parameters passed to the constructor.

Declare Delegate

Generates a delegate object for the type reference.

Declare Enum

Generates an enumeration object for the type reference.

Declare EventArgs Descendant

Generates an EventArgs descendant class for the type reference.

Declare Interface

Generates an interface for the type reference.

Declare Struct

Generates a structure for the type reference with an appropriate constructor.

—–
Products: CodeRush Pro
Versions: 11.2 and up
VS IDEs: 2008 and up
Updated: Jun/01/2012
ID: C168

Similar Posts: