C# Class CK.RouteConfig.ActionConfiguration

Configuration for an action defines a Name. This name must be unique among its sequence.
Show file Open project: Invenietis/ck-core Class Usage Examples

Public Methods

Method Description
CheckValidity ( string routeName, IActivityMonitor monitor ) : bool

Checks the configuration validity. By default returns true.

Clone ( ) : ActionConfiguration

Clones this configuration. By default throws a NotSupportedException.

Protected Methods

Method Description
ActionConfiguration ( string name ) : System

Initializes a new ActionConfiguration.

Method Details

ActionConfiguration() protected method

Initializes a new ActionConfiguration.
protected ActionConfiguration ( string name ) : System
name string Required non empty name that identifies this configuration. Can not be null.
return System

CheckValidity() public method

Checks the configuration validity. By default returns true.
public CheckValidity ( string routeName, IActivityMonitor monitor ) : bool
routeName string Name of the route that contains the configuration.
monitor IActivityMonitor Monitor to use to explain errors.
return bool

Clone() public method

Clones this configuration. By default throws a NotSupportedException.
public Clone ( ) : ActionConfiguration
return ActionConfiguration