C# Class MonoDevelop.D.Projects.Dub.DubProject

A dub package.
Inheritance: AbstractDProject
ファイルを表示 Open project: aBothe/Mono-D Class Usage Examples

Public Properties

Property Type Description
CommonBuildSettings DubBuildSettings
Copyright string
DubReferences DubReferencesCollection
Homepage string
buildTypes SortedSet
packageName string

Private Properties

Property Type Description
BeginLoad void
CanContainFile bool
EndLoad void
_loadFilesFrom void

Public Methods

Method Description
BuildSettingMatchesConfiguration ( DubBuildSetting sett, MonoDevelop.Projects.ConfigurationSelector config ) : bool
CreateConfiguration ( string name ) : MonoDevelop.Projects.SolutionItemConfiguration
CreateExecutionCommand ( MonoDevelop.Projects.ConfigurationSelector conf ) : MonoDevelop.Core.Execution.NativeExecutionCommand
DubProject ( ) : System
GetBuildSettings ( MonoDevelop.Projects.ConfigurationSelector sel ) : IEnumerable
GetOutputFileName ( MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath
GetReferencedItems ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetSourcePaths ( MonoDevelop.Projects.ConfigurationSelector sel ) : IEnumerable
Save ( IProgressMonitor monitor ) : void
ToString ( ) : string

Protected Methods

Method Description
DoBuild ( IProgressMonitor monitor, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
DoClean ( IProgressMonitor monitor, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
DoExecute ( IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
OnEndLoad ( ) : void
OnGetCanExecute ( MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
OnGetExecutionTargets ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable

http://code.dlang.org/package-format#build-types

OnGetItemFiles ( bool includeReferencedFiles ) : List
PopulateOutputFileList ( List list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void

Private Methods

Method Description
BeginLoad ( ) : void
CanContainFile ( string f ) : bool
EndLoad ( ) : void
_loadFilesFrom ( string dir ) : void

Method Details

BuildSettingMatchesConfiguration() public method

public BuildSettingMatchesConfiguration ( DubBuildSetting sett, MonoDevelop.Projects.ConfigurationSelector config ) : bool
sett DubBuildSetting
config MonoDevelop.Projects.ConfigurationSelector
return bool

CreateConfiguration() public method

public CreateConfiguration ( string name ) : MonoDevelop.Projects.SolutionItemConfiguration
name string
return MonoDevelop.Projects.SolutionItemConfiguration

CreateExecutionCommand() public method

public CreateExecutionCommand ( MonoDevelop.Projects.ConfigurationSelector conf ) : MonoDevelop.Core.Execution.NativeExecutionCommand
conf MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Core.Execution.NativeExecutionCommand

DoBuild() protected method

protected DoBuild ( IProgressMonitor monitor, MonoDevelop.Projects.ConfigurationSelector configuration ) : MonoDevelop.Projects.BuildResult
monitor IProgressMonitor
configuration MonoDevelop.Projects.ConfigurationSelector
return MonoDevelop.Projects.BuildResult

DoClean() protected method

protected DoClean ( IProgressMonitor monitor, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
monitor IProgressMonitor
configuration MonoDevelop.Projects.ConfigurationSelector
return void

DoExecute() protected method

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

DubProject() public method

public DubProject ( ) : System
return System

GetBuildSettings() public method

public GetBuildSettings ( MonoDevelop.Projects.ConfigurationSelector sel ) : IEnumerable
sel MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetOutputFileName() public method

public GetOutputFileName ( MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath
configuration MonoDevelop.Projects.ConfigurationSelector
return FilePath

GetReferencedItems() public method

public GetReferencedItems ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

GetSourcePaths() public method

public GetSourcePaths ( MonoDevelop.Projects.ConfigurationSelector sel ) : IEnumerable
sel MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

OnEndLoad() protected method

protected OnEndLoad ( ) : void
return void

OnGetCanExecute() protected method

protected OnGetCanExecute ( MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
context MonoDevelop.Projects.ExecutionContext
configuration MonoDevelop.Projects.ConfigurationSelector
return bool

OnGetExecutionTargets() protected method

http://code.dlang.org/package-format#build-types
protected OnGetExecutionTargets ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector
return IEnumerable

OnGetItemFiles() protected method

protected OnGetItemFiles ( bool includeReferencedFiles ) : List
includeReferencedFiles bool
return List

PopulateOutputFileList() protected method

protected PopulateOutputFileList ( List list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
list List
configuration MonoDevelop.Projects.ConfigurationSelector
return void

Save() public method

public Save ( IProgressMonitor monitor ) : void
monitor IProgressMonitor
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

CommonBuildSettings public_oe property

Project-wide cross-config build settings.
public DubBuildSettings CommonBuildSettings
return DubBuildSettings

Copyright public_oe property

public string Copyright
return string

DubReferences public_oe property

public DubReferencesCollection DubReferences
return DubReferencesCollection

Homepage public_oe property

public string Homepage
return string

buildTypes public_oe property

public SortedSet buildTypes
return SortedSet

packageName public_oe property

public string packageName
return string