C# Class Fusion.Core.Shell.Command

set /delay:1000 /norollback /var:"d3d_fullscr" /value:"true"
Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description
GatherCommands System.Type[]

Public Methods

Method Description
Command ( Invoker invoker ) : System

Execute ( ) : void

Execute action

GetStringResult ( ) : string

Gets result string. Converts result object using type converter.

Rollback ( ) : void

Rollback action

Private Methods

Method Description
GatherCommands ( ) : System.Type[]

Gets all avaialble commands. Command must be inherited from Command class and have attribute [Command]

Method Details

Command() public method

public Command ( Invoker invoker ) : System
invoker Invoker
return System

Execute() public abstract method

Execute action
public abstract Execute ( ) : void
return void

GetStringResult() public method

Gets result string. Converts result object using type converter.
public GetStringResult ( ) : string
return string

Rollback() public abstract method

Rollback action
public abstract Rollback ( ) : void
return void