C# Class Atomia.Provisioning.Modules.Folders.Commands.FoldersCommand

Command which handles Template instances.
Inheritance: ModuleCommandSimpleBase
Afficher le fichier Open project: atomia/sample-plugins

Méthodes publiques

Méthode Description
CallOperation ( string operationName, string operationArgument ) : string

Calls the operation.

Execute ( ) : void

Executes this command.

FoldersCommand ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System

Initializes a new instance of the InstanceCommand class.

Undo ( ) : void

Undoes this command.

Méthodes protégées

Méthode Description
ExecuteAdd ( ModuleService moduleService ) : void

Executes the add.

ExecuteModify ( ModuleService oldService, ModuleService newService ) : void

Executes the modify.

ExecuteRemove ( ModuleService moduleService ) : void

Executes the remove.

ValidateService ( ModuleService moduleService ) : void

Validates the service.

Method Details

CallOperation() public méthode

Calls the operation.
public CallOperation ( string operationName, string operationArgument ) : string
operationName string Name of the operation.
operationArgument string The operation argument.
Résultat string

Execute() public méthode

Executes this command.
public Execute ( ) : void
Résultat void

ExecuteAdd() protected méthode

Executes the add.
protected ExecuteAdd ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
Résultat void

ExecuteModify() protected méthode

Executes the modify.
protected ExecuteModify ( ModuleService oldService, ModuleService newService ) : void
oldService ModuleService The old service.
newService ModuleService The new service.
Résultat void

ExecuteRemove() protected méthode

Executes the remove.
protected ExecuteRemove ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
Résultat void

FoldersCommand() public méthode

Initializes a new instance of the InstanceCommand class.
public FoldersCommand ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System
service ModuleService The service.
resource ResourceDescription The resource.
newServiceSettings ModuleService The new service settings.
commandType ModuleCommandType Type of the command.
listDepth int The list depth.
Résultat System

Undo() public méthode

Undoes this command.
public Undo ( ) : void
Résultat void

ValidateService() protected méthode

Validates the service.
protected ValidateService ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
Résultat void