C# Class MonoDevelop.Projects.CustomCommand

显示文件 Open project: powerumc/monodevelop_korean Class Usage Examples

Public Methods

Method Description
CanExecute ( WorkspaceObject entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
Clone ( ) : CustomCommand
CreateExecutionCommand ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Core.Execution.ProcessExecutionCommand
Execute ( MonoDevelop.Core.ProgressMonitor monitor, WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : Task
Execute ( MonoDevelop.Core.ProgressMonitor monitor, WorkspaceObject entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : Task
GetCommandArgs ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : string
GetCommandFile ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : string
GetCommandWorkingDir ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath

Private Methods

Method Description
GetTagModel ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Core.StringParsing.StringTagModel
ParseCommand ( MonoDevelop.Core.StringParsing.StringTagModel tagSource, string &cmd, string &args ) : void

Method Details

CanExecute() public method

public CanExecute ( WorkspaceObject entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
entry WorkspaceObject
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

Clone() public method

public Clone ( ) : CustomCommand
return CustomCommand

CreateExecutionCommand() public method

public CreateExecutionCommand ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Core.Execution.ProcessExecutionCommand
entry WorkspaceObject
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Core.Execution.ProcessExecutionCommand

Execute() public method

public Execute ( MonoDevelop.Core.ProgressMonitor monitor, WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : Task
monitor MonoDevelop.Core.ProgressMonitor
entry WorkspaceObject
configuration MonoDevelop.Projects.ConfigurationSelector
return Task

Execute() public method

public Execute ( MonoDevelop.Core.ProgressMonitor monitor, WorkspaceObject entry, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : Task
monitor MonoDevelop.Core.ProgressMonitor
entry WorkspaceObject
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return Task

GetCommandArgs() public method

public GetCommandArgs ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : string
entry WorkspaceObject
configuration MonoDevelop.Projects.ConfigurationSelector
return string

GetCommandFile() public method

public GetCommandFile ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : string
entry WorkspaceObject
configuration MonoDevelop.Projects.ConfigurationSelector
return string

GetCommandWorkingDir() public method

public GetCommandWorkingDir ( WorkspaceObject entry, MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath
entry WorkspaceObject
configuration MonoDevelop.Projects.ConfigurationSelector
return FilePath