Ruleset Extension Point Editor

Use to associate a ruleset with a specification-based extension point, and to define the custom code placement.

Field Use

Ruleset

Do one of the following:

  • Click Ruleset to create a new ruleset.

  • Click Select to select an existing ruleset.

  • Click Clear to remove a previously selected ruleset.

Point

Do one of the following:

  • Click Point to create a new specification-based extension point.

  • Click Select to select an existing specification-based extension point.

  • Click Clear to remove a previously selected specification-based extension point.

See "Working with Extension Points" for more information.

Placement

Define whether the ruleset executes before, after, or instead of the method defined by the extension point.

  • Select Before to run the ruleset before the method specified by the signature. For an extension point of type call, the custom code is weaved before the call to the method. For an extension point of type execution, the custom code is weaved within the method before the first line of executable code.

  • Select After to run the ruleset after the method specified by the signature. For an extension point of type call, the custom code is weaved after the call to the method. For an extension point of type execution, the custom code is weaved within the method after the last line of executable code.

  • Select Instead to run the ruleset instead of the method specified by the signature. For an extension point of type call, the custom code is weaved in place of the call to the method. For an extension point of type execution, the custom code is weaved within the method in place of the executable code.