C# Class CK.RouteConfig.Impl.ActionCompositeConfiguration

Defines a composite action that can be a ActionParallelConfiguration or a ActionSequenceConfiguration.
Inheritance: ActionConfiguration
Afficher le fichier Open project: Invenietis/ck-core Class Usage Examples

Private Properties

Свойство Type Description
ActionCompositeConfiguration System
CheckAndOptimize bool
CloneComposite ActionCompositeConfiguration
Override void

Méthodes publiques

Méthode Description
CheckValidity ( string routeName, IActivityMonitor monitor ) : bool

Checks that children are valid (action's name must be unique).

Clone ( ) : ActionConfiguration

Clones this composite.

Méthodes protégées

Méthode Description
ActionCompositeConfiguration ( string name, bool isParallel ) : System

Protected constructor.

Add ( ActionConfiguration action ) : void

Adds an ActionConfiguration to this composite.

Private Methods

Méthode Description
ActionCompositeConfiguration ( ActionCompositeConfiguration toCopy, bool copyCompositeOnly ) : System
CheckAndOptimize ( IActivityMonitor monitor ) : bool
CloneComposite ( bool cloneCompositeOnly ) : ActionCompositeConfiguration
Override ( int idx, ActionConfiguration action ) : void

Overrides (replaces) an ActionConfiguration at a specified index.

Method Details

ActionCompositeConfiguration() protected méthode

Protected constructor.
protected ActionCompositeConfiguration ( string name, bool isParallel ) : System
name string Action's name.
isParallel bool Whether this composite is a parallel.
Résultat System

Add() protected méthode

Adds an ActionConfiguration to this composite.
protected Add ( ActionConfiguration action ) : void
action ActionConfiguration The action to add.
Résultat void

CheckValidity() public méthode

Checks that children are valid (action's name must be unique).
public CheckValidity ( string routeName, IActivityMonitor monitor ) : bool
routeName string Name of the route that references this action.
monitor IActivityMonitor Monitor to report errors.
Résultat bool

Clone() public méthode

Clones this composite.
public Clone ( ) : ActionConfiguration
Résultat ActionConfiguration