C# Class MonoDevelop.Projects.ProjectServiceExtension

Mostra file Open project: jgranick/haxedevelop Class Usage Examples

Public Methods

Method Description
CanExecute ( IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
Execute ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
GetExecutionTargets ( IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetItemFiles ( SolutionEntityItem item, bool includeReferencedFiles ) : List
GetNeedsBuilding ( IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
GetReferencedAssemblies ( DotNetProject project, MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable
GetService ( SolutionItem item, Type type ) : object
GetService ( WorkspaceItem item, Type type ) : object
IsSolutionItemFile ( string fileName ) : bool
IsWorkspaceItemFile ( string fileName ) : bool
LoadWorkspaceItem ( IProgressMonitor monitor, string fileName ) : WorkspaceItem
RunTarget ( IProgressMonitor monitor, IBuildTarget item, string target, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
Save ( IProgressMonitor monitor, SolutionEntityItem item ) : void
Save ( IProgressMonitor monitor, WorkspaceItem item ) : void
SetNeedsBuilding ( IBuildTarget item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
SupportsItem ( IBuildTarget item ) : bool
SupportsTarget ( IBuildTarget item, string target ) : bool

Protected Methods

Method Description
Build ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
Build ( IProgressMonitor monitor, Solution solution, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
Build ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
Build ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
CanExecute ( Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
CanExecute ( SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
CanExecute ( WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
Clean ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Clean ( IProgressMonitor monitor, Solution item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Clean ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Clean ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Compile ( IProgressMonitor monitor, SolutionEntityItem item, BuildData buildData ) : MonoDevelop.Projects.BuildResult
Execute ( IProgressMonitor monitor, Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Execute ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
Execute ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
GetExecutionTargets ( Solution solution, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetExecutionTargets ( SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetExecutionTargets ( WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetNeedsBuilding ( Solution item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
GetNeedsBuilding ( SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
GetNeedsBuilding ( WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
LoadSolutionItem ( IProgressMonitor monitor, string fileName ) : SolutionEntityItem
SetNeedsBuilding ( Solution item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
SetNeedsBuilding ( SolutionEntityItem item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
SetNeedsBuilding ( WorkspaceItem item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
SupportsTarget ( Solution solution, string target ) : bool
SupportsTarget ( SolutionEntityItem item, string target ) : bool
SupportsTarget ( WorkspaceItem item, string target ) : bool

Private Methods

Method Description
Compile ( IProgressMonitor monitor, SolutionEntityItem item, BuildData buildData, ItemCompileCallback callback ) : MonoDevelop.Projects.BuildResult
GetNext ( IBuildTarget item ) : ProjectServiceExtension
LoadSolutionItem ( IProgressMonitor monitor, string fileName, ItemLoadCallback callback ) : SolutionEntityItem

Method Details

Build() protected method

protected Build ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
item IBuildTarget
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

Build() protected method

protected Build ( IProgressMonitor monitor, Solution solution, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
solution Solution
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

Build() protected method

protected Build ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
item SolutionEntityItem
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

Build() protected method

protected Build ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
item WorkspaceItem
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

CanExecute() public method

public CanExecute ( IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item IBuildTarget
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

CanExecute() protected method

protected CanExecute ( Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
solution Solution
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

CanExecute() protected method

protected CanExecute ( SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item SolutionEntityItem
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

CanExecute() protected method

protected CanExecute ( WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item WorkspaceItem
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

Clean() protected method

protected Clean ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item IBuildTarget
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Clean() protected method

protected Clean ( IProgressMonitor monitor, Solution item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item Solution
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Clean() protected method

protected Clean ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item SolutionEntityItem
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Clean() protected method

protected Clean ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item WorkspaceItem
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Compile() protected method

protected Compile ( IProgressMonitor monitor, SolutionEntityItem item, BuildData buildData ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
item SolutionEntityItem
buildData BuildData
return MonoDevelop.Projects.BuildResult

Execute() public method

public Execute ( IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item IBuildTarget
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Execute() protected method

protected Execute ( IProgressMonitor monitor, Solution solution, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
solution Solution
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Execute() protected method

protected Execute ( IProgressMonitor monitor, SolutionEntityItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item SolutionEntityItem
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Execute() protected method

protected Execute ( IProgressMonitor monitor, WorkspaceItem item, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
item WorkspaceItem
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return void

GetExecutionTargets() public method

public GetExecutionTargets ( IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
item IBuildTarget
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetExecutionTargets() protected method

protected GetExecutionTargets ( Solution solution, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
solution Solution
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetExecutionTargets() protected method

protected GetExecutionTargets ( SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
item SolutionEntityItem
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetExecutionTargets() protected method

protected GetExecutionTargets ( WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
item WorkspaceItem
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetItemFiles() public method

public GetItemFiles ( SolutionEntityItem item, bool includeReferencedFiles ) : List
item SolutionEntityItem
includeReferencedFiles bool
return List

GetNeedsBuilding() public method

public GetNeedsBuilding ( IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item IBuildTarget
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

GetNeedsBuilding() protected method

protected GetNeedsBuilding ( Solution item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item Solution
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

GetNeedsBuilding() protected method

protected GetNeedsBuilding ( SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item SolutionEntityItem
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

GetNeedsBuilding() protected method

protected GetNeedsBuilding ( WorkspaceItem item, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
item WorkspaceItem
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

GetReferencedAssemblies() public method

public GetReferencedAssemblies ( DotNetProject project, MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable
project DotNetProject
configuration MonoDevelop.Projects.ConfigurationSelector
includeProjectReferences bool
return IEnumerable

GetService() public method

public GetService ( SolutionItem item, Type type ) : object
item SolutionItem
type System.Type
return object

GetService() public method

public GetService ( WorkspaceItem item, Type type ) : object
item WorkspaceItem
type System.Type
return object

IsSolutionItemFile() public method

public IsSolutionItemFile ( string fileName ) : bool
fileName string
return bool

IsWorkspaceItemFile() public method

public IsWorkspaceItemFile ( string fileName ) : bool
fileName string
return bool

LoadSolutionItem() protected method

protected LoadSolutionItem ( IProgressMonitor monitor, string fileName ) : SolutionEntityItem
monitor IProgressMonitor
fileName string
return SolutionEntityItem

LoadWorkspaceItem() public method

public LoadWorkspaceItem ( IProgressMonitor monitor, string fileName ) : WorkspaceItem
monitor IProgressMonitor
fileName string
return WorkspaceItem

RunTarget() public method

public RunTarget ( IProgressMonitor monitor, IBuildTarget item, string target, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
item IBuildTarget
target string
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

Save() public method

public Save ( IProgressMonitor monitor, SolutionEntityItem item ) : void
monitor IProgressMonitor
item SolutionEntityItem
return void

Save() public method

public Save ( IProgressMonitor monitor, WorkspaceItem item ) : void
monitor IProgressMonitor
item WorkspaceItem
return void

SetNeedsBuilding() public method

public SetNeedsBuilding ( IBuildTarget item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
item IBuildTarget
val bool
configuration MonoDevelop.Projects.ConfigurationSelector
return void

SetNeedsBuilding() protected method

protected SetNeedsBuilding ( Solution item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
item Solution
val bool
configuration MonoDevelop.Projects.ConfigurationSelector
return void

SetNeedsBuilding() protected method

protected SetNeedsBuilding ( SolutionEntityItem item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
item SolutionEntityItem
val bool
configuration MonoDevelop.Projects.ConfigurationSelector
return void

SetNeedsBuilding() protected method

protected SetNeedsBuilding ( WorkspaceItem item, bool val, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
item WorkspaceItem
val bool
configuration MonoDevelop.Projects.ConfigurationSelector
return void

SupportsItem() public method

public SupportsItem ( IBuildTarget item ) : bool
item IBuildTarget
return bool

SupportsTarget() public method

public SupportsTarget ( IBuildTarget item, string target ) : bool
item IBuildTarget
target string
return bool

SupportsTarget() protected method

protected SupportsTarget ( Solution solution, string target ) : bool
solution Solution
target string
return bool

SupportsTarget() protected method

protected SupportsTarget ( SolutionEntityItem item, string target ) : bool
item SolutionEntityItem
target string
return bool

SupportsTarget() protected method

protected SupportsTarget ( WorkspaceItem item, string target ) : bool
item WorkspaceItem
target string
return bool