Log in / create account

FubuMVC wiki
[FubuMVC home]

Action Discovery

From FubuMVC Wiki

The Actions in your application are determined by scanning for methods that meet the criteria you specify.

Applies - The Applies property starts a method chain which determines which assemblies are scanned for types containing action methods. Current options are ToAssembly(), ToThisAssembly(), and ToAssemblyContainingType<T>().

Actions - The Actions property starts a method chain which determines which types are scanned, and which methods on those types should be considered Actions.

Note that all method calls are cumulative. You can make multiple calls to Actions.* and they will all apply (as opposed to the last statement overwriting previous statements).

Page Discussion View source History