C# Class Rackspace.Cloud.Server.Agent.PreAndPostCommandAttribute

Inheritance: System.Attribute
Show file Open project: rackerlabs/openstack-guest-agents-windows-xenserver Class Usage Examples

Public Methods

Method Description
Execute ( IExecutableCommand commandExecutable, Command command ) : ExecutableResult
PreAndPostCommandAttribute ( ) : System
PreAndPostCommandAttribute ( ILogger logger ) : System

Private Methods

Method Description
runInSafeBlock ( string command ) : void

Method Details

Execute() public method

public Execute ( IExecutableCommand commandExecutable, Command command ) : ExecutableResult
commandExecutable IExecutableCommand
command Rackspace.Cloud.Server.Agent.Configuration.Command
return ExecutableResult

PreAndPostCommandAttribute() public method

public PreAndPostCommandAttribute ( ) : System
return System

PreAndPostCommandAttribute() public method

public PreAndPostCommandAttribute ( ILogger logger ) : System
logger ILogger
return System