C# 클래스 MonoDevelop.Projects.DotNetProject

상속: Project, IAssemblyProject
파일 보기 프로젝트 열기: LogosBible/monodevelop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
projectReferences ProjectReferenceCollection

Private Properties

프로퍼티 타입 설명
CheckReferenceChange void
FindLanguage IDotNetLanguageBinding
GetAssemblyRefsRec IEnumerable
GetHierarchicalNamespace string
GetResourceCulture string
GetTargetFrameworkForNewProject MonoDevelop.Core.Assemblies.TargetFramework
MigrateResourceIds void
NotifyReferenceAddedToProject void
NotifyReferenceRemovedFromProject void
OnFileChanged void
OnFileRemoved void
PopulateSupportFileListInternal void
RenameReferences void
RuntimeSystemAssemblyServiceDefaultRuntimeChanged void
SanitisePotentialNamespace string
SetItemHandler void
UpdateSystemReferences void

공개 메소드들

메소드 설명
AddReference ( string filename ) : MonoDevelop.Projects.ProjectReference
CanReferenceProject ( DotNetProject targetProject, string &reason ) : bool
CreateConfiguration ( string name ) : MonoDevelop.Projects.SolutionItemConfiguration
Dispose ( ) : void
DotNetProject ( ) : System
DotNetProject ( string languageName ) : System
DotNetProject ( string languageName, MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo, XmlElement projectOptions ) : System
GetDefaultNamespace ( string fileName ) : string

Gets the default namespace for the file, according to the naming policy.

Always returns a valid namespace, even if the fileName is null.

GetDefaultTargetFrameworkForFormat ( MonoDevelop.Projects.FileFormat format ) : TargetFrameworkMoniker

Returns the default framework for a given format

This method is used to determine what's the correct target framework for a project deserialized using a specific format.

GetDefaultTargetFrameworkId ( ) : TargetFrameworkMoniker

Gets the target framework for new projects

GetOutputFileName ( MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath
GetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable

Returns all assemblies referenced by this project, including assemblies generated by referenced projects.

GetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable

Returns all assemblies referenced by this project.

GetReferencedItems ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
GetUserAssemblyPaths ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IList
IsCompileable ( string fileName ) : bool
StripImplicitNamespace ( string ns ) : string

Given a namespace, removes from it the implicit namespace of the project, if there is one. This depends on the target language. For example, in VB.NET the default namespace is implicit.

SupportsFramework ( MonoDevelop.Core.Assemblies.TargetFramework framework ) : bool
UpdateResourceHandler ( bool keepOldIds ) : void

보호된 메소드들

메소드 설명
CheckNeedsBuild ( MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
CreateExecutionCommand ( MonoDevelop.Projects.ConfigurationSelector configSel, DotNetProjectConfiguration configuration ) : MonoDevelop.Core.Execution.ExecutionCommand
DoExecute ( IProgressMonitor monitor, ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
GetCommonBuildActions ( ) : IList
GetDefaultTargetPlatform ( MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo ) : string
GetStandardBuildActions ( ) : IEnumerable
OnEndLoad ( ) : void
OnGetCanExecute ( ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
OnGetItemFiles ( bool includeReferencedFiles ) : List
OnGetLastBuildTime ( MonoDevelop.Projects.ConfigurationSelector configuration ) : System.DateTime
OnGetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable
OnItemsAdded ( IEnumerable objs ) : void
OnItemsRemoved ( IEnumerable objs ) : void
OnReferenceAddedToProject ( MonoDevelop.Projects.ProjectReferenceEventArgs e ) : void
OnReferenceRemovedFromProject ( MonoDevelop.Projects.ProjectReferenceEventArgs e ) : void
OnSave ( IProgressMonitor monitor ) : void
PopulateOutputFileList ( List list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
PopulateSupportFileList ( FileCopySet list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void

비공개 메소드들

메소드 설명
CheckReferenceChange ( string updatedFile ) : void
FindLanguage ( string name ) : IDotNetLanguageBinding
GetAssemblyRefsRec ( string fileName, HashSet visited ) : IEnumerable
GetHierarchicalNamespace ( string relativePath ) : string
GetResourceCulture ( string fname ) : string
GetTargetFrameworkForNewProject ( XmlElement projectOptions, TargetFrameworkMoniker defaultMoniker ) : MonoDevelop.Core.Assemblies.TargetFramework
MigrateResourceIds ( IResourceHandler oldHandler, IResourceHandler newHandler ) : void
NotifyReferenceAddedToProject ( MonoDevelop.Projects.ProjectReference reference ) : void
NotifyReferenceRemovedFromProject ( MonoDevelop.Projects.ProjectReference reference ) : void
OnFileChanged ( object source, MonoDevelop e ) : void
OnFileRemoved ( Object o, FileEventArgs e ) : void
PopulateSupportFileListInternal ( FileCopySet list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
RenameReferences ( string oldName, string newName ) : void
RuntimeSystemAssemblyServiceDefaultRuntimeChanged ( object sender, EventArgs e ) : void
SanitisePotentialNamespace ( string potential ) : string
SetItemHandler ( ISolutionItemHandler handler ) : void
UpdateSystemReferences ( ) : void

메소드 상세

AddReference() 공개 메소드

public AddReference ( string filename ) : MonoDevelop.Projects.ProjectReference
filename string
리턴 MonoDevelop.Projects.ProjectReference

CanReferenceProject() 공개 메소드

public CanReferenceProject ( DotNetProject targetProject, string &reason ) : bool
targetProject DotNetProject
reason string
리턴 bool

CheckNeedsBuild() 보호된 메소드

protected CheckNeedsBuild ( MonoDevelop.Projects.ConfigurationSelector configuration ) : bool
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 bool

CreateConfiguration() 공개 메소드

public CreateConfiguration ( string name ) : MonoDevelop.Projects.SolutionItemConfiguration
name string
리턴 MonoDevelop.Projects.SolutionItemConfiguration

CreateExecutionCommand() 보호된 메소드

protected CreateExecutionCommand ( MonoDevelop.Projects.ConfigurationSelector configSel, DotNetProjectConfiguration configuration ) : MonoDevelop.Core.Execution.ExecutionCommand
configSel MonoDevelop.Projects.ConfigurationSelector
configuration DotNetProjectConfiguration
리턴 MonoDevelop.Core.Execution.ExecutionCommand

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DoExecute() 보호된 메소드

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

DotNetProject() 공개 메소드

public DotNetProject ( ) : System
리턴 System

DotNetProject() 공개 메소드

public DotNetProject ( string languageName ) : System
languageName string
리턴 System

DotNetProject() 공개 메소드

public DotNetProject ( string languageName, MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo, XmlElement projectOptions ) : System
languageName string
projectCreateInfo MonoDevelop.Projects.ProjectCreateInformation
projectOptions System.Xml.XmlElement
리턴 System

GetCommonBuildActions() 보호된 메소드

protected GetCommonBuildActions ( ) : IList
리턴 IList

GetDefaultNamespace() 공개 메소드

Gets the default namespace for the file, according to the naming policy.
Always returns a valid namespace, even if the fileName is null.
public GetDefaultNamespace ( string fileName ) : string
fileName string
리턴 string

GetDefaultTargetFrameworkForFormat() 공개 메소드

Returns the default framework for a given format
This method is used to determine what's the correct target framework for a project deserialized using a specific format.
public GetDefaultTargetFrameworkForFormat ( MonoDevelop.Projects.FileFormat format ) : TargetFrameworkMoniker
format MonoDevelop.Projects.FileFormat /// A format ///
리턴 TargetFrameworkMoniker

GetDefaultTargetFrameworkId() 공개 메소드

Gets the target framework for new projects
public GetDefaultTargetFrameworkId ( ) : TargetFrameworkMoniker
리턴 TargetFrameworkMoniker

GetDefaultTargetPlatform() 보호된 메소드

protected GetDefaultTargetPlatform ( MonoDevelop.Projects.ProjectCreateInformation projectCreateInfo ) : string
projectCreateInfo MonoDevelop.Projects.ProjectCreateInformation
리턴 string

GetOutputFileName() 공개 메소드

public GetOutputFileName ( MonoDevelop.Projects.ConfigurationSelector configuration ) : FilePath
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 FilePath

GetReferencedAssemblies() 공개 메소드

Returns all assemblies referenced by this project, including assemblies generated by referenced projects.
public GetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector /// Configuration for which to get the assemblies. ///
리턴 IEnumerable

GetReferencedAssemblies() 공개 메소드

Returns all assemblies referenced by this project.
public GetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector /// Configuration for which to get the assemblies. ///
includeProjectReferences bool /// When set to true, it will include assemblies generated by referenced project. When set to false, /// it will only include package and direct assembly references. ///
리턴 IEnumerable

GetReferencedItems() 공개 메소드

public GetReferencedItems ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 IEnumerable

GetStandardBuildActions() 보호된 메소드

protected GetStandardBuildActions ( ) : IEnumerable
리턴 IEnumerable

GetUserAssemblyPaths() 공개 메소드

public GetUserAssemblyPaths ( MonoDevelop.Projects.ConfigurationSelector configuration ) : IList
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 IList

IsCompileable() 공개 메소드

public IsCompileable ( string fileName ) : bool
fileName string
리턴 bool

OnEndLoad() 보호된 메소드

protected OnEndLoad ( ) : void
리턴 void

OnGetCanExecute() 보호된 메소드

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

OnGetItemFiles() 보호된 메소드

protected OnGetItemFiles ( bool includeReferencedFiles ) : List
includeReferencedFiles bool
리턴 List

OnGetLastBuildTime() 보호된 메소드

protected OnGetLastBuildTime ( MonoDevelop.Projects.ConfigurationSelector configuration ) : System.DateTime
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 System.DateTime

OnGetReferencedAssemblies() 보호된 메소드

protected OnGetReferencedAssemblies ( MonoDevelop.Projects.ConfigurationSelector configuration, bool includeProjectReferences ) : IEnumerable
configuration MonoDevelop.Projects.ConfigurationSelector
includeProjectReferences bool
리턴 IEnumerable

OnItemsAdded() 보호된 메소드

protected OnItemsAdded ( IEnumerable objs ) : void
objs IEnumerable
리턴 void

OnItemsRemoved() 보호된 메소드

protected OnItemsRemoved ( IEnumerable objs ) : void
objs IEnumerable
리턴 void

OnReferenceAddedToProject() 보호된 메소드

protected OnReferenceAddedToProject ( MonoDevelop.Projects.ProjectReferenceEventArgs e ) : void
e MonoDevelop.Projects.ProjectReferenceEventArgs
리턴 void

OnReferenceRemovedFromProject() 보호된 메소드

protected OnReferenceRemovedFromProject ( MonoDevelop.Projects.ProjectReferenceEventArgs e ) : void
e MonoDevelop.Projects.ProjectReferenceEventArgs
리턴 void

OnSave() 보호된 메소드

protected OnSave ( IProgressMonitor monitor ) : void
monitor IProgressMonitor
리턴 void

PopulateOutputFileList() 보호된 메소드

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

PopulateSupportFileList() 보호된 메소드

protected PopulateSupportFileList ( FileCopySet list, MonoDevelop.Projects.ConfigurationSelector configuration ) : void
list FileCopySet
configuration MonoDevelop.Projects.ConfigurationSelector
리턴 void

StripImplicitNamespace() 공개 메소드

Given a namespace, removes from it the implicit namespace of the project, if there is one. This depends on the target language. For example, in VB.NET the default namespace is implicit.
public StripImplicitNamespace ( string ns ) : string
ns string
리턴 string

SupportsFramework() 공개 메소드

public SupportsFramework ( MonoDevelop.Core.Assemblies.TargetFramework framework ) : bool
framework MonoDevelop.Core.Assemblies.TargetFramework
리턴 bool

UpdateResourceHandler() 공개 메소드

public UpdateResourceHandler ( bool keepOldIds ) : void
keepOldIds bool
리턴 void

프로퍼티 상세

projectReferences 보호되어 있는 프로퍼티

protected ProjectReferenceCollection projectReferences
리턴 ProjectReferenceCollection