C# Class CK.RouteConfig.Impl.ActionCompositeConfiguration

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

Private Properties

Property Type Description
ActionCompositeConfiguration System
CheckAndOptimize bool
CloneComposite ActionCompositeConfiguration
Override void

Public Methods

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

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

Clone ( ) : ActionConfiguration

Clones this composite.

Protected Methods

Method Description
ActionCompositeConfiguration ( string name, bool isParallel ) : System

Protected constructor.

Add ( ActionConfiguration action ) : void

Adds an ActionConfiguration to this composite.

Private Methods

Method 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 method

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

Add() protected method

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

CheckValidity() public method

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.
return bool

Clone() public method

Clones this composite.
public Clone ( ) : ActionConfiguration
return ActionConfiguration