C# Класс CK.RouteConfig.SubRouteConfiguration

Captures subordinated RouteConfiguration: a SubRouteConfiguration ImportParentActions and ImportParentDeclaredActionsAbove by default and defines a RoutePredicate.
Наследование: RouteConfiguration
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAction ( ActionConfiguration a ) : SubRouteConfiguration

Adds one or more actions.

DeclareAction ( ActionConfiguration a ) : SubRouteConfiguration

Declares one or more actions.

DeclareRoute ( SubRouteConfiguration channel ) : SubRouteConfiguration

Declares a subordinated route.

InsertAction ( string name, string declarationName ) : SubRouteConfiguration

Inserts one action that have been previously declared.

OverrideAction ( ActionConfiguration a ) : SubRouteConfiguration

Overrides one or more existing actions. ActionConfiguration.Name is the key.

RemoveAction ( string name ) : SubRouteConfiguration

Removes one or more actions by name.

SubRouteConfiguration ( string name, bool>.Func routePredicate ) : System

Initializes a new SubRouteConfiguration.

Описание методов

AddAction() публичный Метод

Adds one or more actions.
public AddAction ( ActionConfiguration a ) : SubRouteConfiguration
a ActionConfiguration Action to add.
Результат SubRouteConfiguration

DeclareAction() публичный Метод

Declares one or more actions.
public DeclareAction ( ActionConfiguration a ) : SubRouteConfiguration
a ActionConfiguration Action to declare.
Результат SubRouteConfiguration

DeclareRoute() публичный Метод

Declares a subordinated route.
public DeclareRoute ( SubRouteConfiguration channel ) : SubRouteConfiguration
channel SubRouteConfiguration Configuration of the route.
Результат SubRouteConfiguration

InsertAction() публичный Метод

Inserts one action that have been previously declared.
public InsertAction ( string name, string declarationName ) : SubRouteConfiguration
name string Name of the action to insert.
declarationName string Name of the declared action.
Результат SubRouteConfiguration

OverrideAction() публичный Метод

Overrides one or more existing actions. ActionConfiguration.Name is the key.
public OverrideAction ( ActionConfiguration a ) : SubRouteConfiguration
a ActionConfiguration Action to to override.
Результат SubRouteConfiguration

RemoveAction() публичный Метод

Removes one or more actions by name.
public RemoveAction ( string name ) : SubRouteConfiguration
name string Name of the action to remove.
Результат SubRouteConfiguration

SubRouteConfiguration() публичный Метод

Initializes a new SubRouteConfiguration.
public SubRouteConfiguration ( string name, bool>.Func routePredicate ) : System
name string The name of the route.
routePredicate bool>.Func The predicate for this sub route.
Результат System