C# Class CK.RouteConfig.MetaInsertActionConfiguration

Enables inserting in the route an already declared action.
Inheritance: CK.RouteConfig.Impl.MetaConfiguration
Show file Open project: Invenietis/ck-core

Public Methods

Method Description
MetaInsertActionConfiguration ( string name, string declarationName ) : System

Initializes a new MetaInsertActionConfiguration with the name of the action and the name of the previously declared action.

Protected Methods

Method Description
Apply ( Impl context ) : void

Calls Impl.IRouteConfigurationContext.AddDeclaredAction to add the DeclaredName with this name.

CheckValidity ( string routeName, IActivityMonitor monitor ) : bool

Checks the validity: name and DeclaredName must be valid.

Method Details

Apply() protected method

Calls Impl.IRouteConfigurationContext.AddDeclaredAction to add the DeclaredName with this name.
protected Apply ( Impl context ) : void
context Impl Enables context lookup and manipulation, exposes a to use.
return void

CheckValidity() protected method

Checks the validity: name and DeclaredName must be valid.
protected CheckValidity ( string routeName, IActivityMonitor monitor ) : bool
routeName string Name of the route that contains this configuration.
monitor IActivityMonitor Monitor to use to explain errors.
return bool

MetaInsertActionConfiguration() public method

Initializes a new MetaInsertActionConfiguration with the name of the action and the name of the previously declared action.
public MetaInsertActionConfiguration ( string name, string declarationName ) : System
name string Name of the action to insert.
declarationName string Declared action's name.
return System