Method | Description | |
---|---|---|
CheckActionNameValidity ( string routeName, IActivityMonitor monitor, string nameToCheck ) : bool |
Implements standard name checking for ActionConfiguration.Name. The provided nameToCheck must not be null or empty or contains only whitespaces nor '/' character. The '/' is reserved to structure the namespace.
|
Method | Description | |
---|---|---|
Apply ( IProtoRouteConfigurationContext protoContext ) : void |
Applies the configuration (first step). By default, adds this meta configuration to the context so that Apply(IRouteConfigurationContext) will be called.
|
|
Apply ( IRouteConfigurationContext context ) : void |
Applies the configuration (second step).
|
|
CheckValidity ( string routeName, IActivityMonitor monitor ) : bool |
Check the configuration validity.
|
protected Apply ( IProtoRouteConfigurationContext protoContext ) : void | ||
protoContext | IProtoRouteConfigurationContext | Enables context lookup and manipulation, exposes a |
return | void |
protected abstract Apply ( IRouteConfigurationContext context ) : void | ||
context | IRouteConfigurationContext | Enables context lookup and manipulation, exposes a |
return | void |
static public CheckActionNameValidity ( string routeName, IActivityMonitor monitor, string nameToCheck ) : bool | ||
routeName | string | The name of the route that contains the action. |
monitor | IActivityMonitor | The monitor that will receive error descriptions. |
nameToCheck | string | The name to check. |
return | bool |
protected abstract 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 |