C# 클래스 ICSharpCode.NRefactory.CSharp.CSharpProjectContent

상속: IProjectContent
파일 보기 프로젝트 열기: 0xd4d/NRefactory 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IAssemblyReference IAssembly
UpdateProjectContent IProjectContent
UpdateProjectContent IProjectContent

공개 메소드들

메소드 설명
AddAssemblyReferences ( ) : IProjectContent
AddAssemblyReferences ( IEnumerable references ) : IProjectContent
AddOrUpdateFiles ( ) : IProjectContent

Adds the specified files to the project content. If a file with the same name already exists, this method updates the existing file.

AddOrUpdateFiles ( IEnumerable newFiles ) : IProjectContent

Adds the specified files to the project content. If a file with the same name already exists, updated the existing file.

CSharpProjectContent ( ) : System
CreateCompilation ( ) : ICompilation
CreateCompilation ( ISolutionSnapshot solutionSnapshot ) : ICompilation
GetFile ( string fileName ) : IUnresolvedFile
RemoveAssemblyReferences ( ) : IProjectContent
RemoveAssemblyReferences ( IEnumerable references ) : IProjectContent
RemoveFiles ( ) : IProjectContent

Removes the files with the specified names.

RemoveFiles ( IEnumerable fileNames ) : IProjectContent

Removes the files with the specified names.

SetAssemblyName ( string newAssemblyName ) : IProjectContent

Sets both the short and the full assembly names.

SetCompilerSettings ( object compilerSettings ) : IProjectContent
SetLocation ( string newLocation ) : IProjectContent
SetProjectFileName ( string newProjectFileName ) : IProjectContent

보호된 메소드들

메소드 설명
CSharpProjectContent ( CSharpProjectContent pc ) : System
Clone ( ) : CSharpProjectContent

비공개 메소드들

메소드 설명
IAssemblyReference ( ITypeResolveContext context ) : IAssembly
UpdateProjectContent ( IEnumerable oldFiles, IEnumerable newFiles ) : IProjectContent
UpdateProjectContent ( IUnresolvedFile oldFile, IUnresolvedFile newFile ) : IProjectContent

메소드 상세

AddAssemblyReferences() 공개 메소드

public AddAssemblyReferences ( ) : IProjectContent
리턴 IProjectContent

AddAssemblyReferences() 공개 메소드

public AddAssemblyReferences ( IEnumerable references ) : IProjectContent
references IEnumerable
리턴 IProjectContent

AddOrUpdateFiles() 공개 메소드

Adds the specified files to the project content. If a file with the same name already exists, this method updates the existing file.
public AddOrUpdateFiles ( ) : IProjectContent
리턴 IProjectContent

AddOrUpdateFiles() 공개 메소드

Adds the specified files to the project content. If a file with the same name already exists, updated the existing file.
public AddOrUpdateFiles ( IEnumerable newFiles ) : IProjectContent
newFiles IEnumerable
리턴 IProjectContent

CSharpProjectContent() 공개 메소드

public CSharpProjectContent ( ) : System
리턴 System

CSharpProjectContent() 보호된 메소드

protected CSharpProjectContent ( CSharpProjectContent pc ) : System
pc CSharpProjectContent
리턴 System

Clone() 보호된 메소드

protected Clone ( ) : CSharpProjectContent
리턴 CSharpProjectContent

CreateCompilation() 공개 메소드

public CreateCompilation ( ) : ICompilation
리턴 ICompilation

CreateCompilation() 공개 메소드

public CreateCompilation ( ISolutionSnapshot solutionSnapshot ) : ICompilation
solutionSnapshot ISolutionSnapshot
리턴 ICompilation

GetFile() 공개 메소드

public GetFile ( string fileName ) : IUnresolvedFile
fileName string
리턴 IUnresolvedFile

RemoveAssemblyReferences() 공개 메소드

public RemoveAssemblyReferences ( ) : IProjectContent
리턴 IProjectContent

RemoveAssemblyReferences() 공개 메소드

public RemoveAssemblyReferences ( IEnumerable references ) : IProjectContent
references IEnumerable
리턴 IProjectContent

RemoveFiles() 공개 메소드

Removes the files with the specified names.
public RemoveFiles ( ) : IProjectContent
리턴 IProjectContent

RemoveFiles() 공개 메소드

Removes the files with the specified names.
public RemoveFiles ( IEnumerable fileNames ) : IProjectContent
fileNames IEnumerable
리턴 IProjectContent

SetAssemblyName() 공개 메소드

Sets both the short and the full assembly names.
public SetAssemblyName ( string newAssemblyName ) : IProjectContent
newAssemblyName string New full assembly name.
리턴 IProjectContent

SetCompilerSettings() 공개 메소드

public SetCompilerSettings ( object compilerSettings ) : IProjectContent
compilerSettings object
리턴 IProjectContent

SetLocation() 공개 메소드

public SetLocation ( string newLocation ) : IProjectContent
newLocation string
리턴 IProjectContent

SetProjectFileName() 공개 메소드

public SetProjectFileName ( string newProjectFileName ) : IProjectContent
newProjectFileName string
리턴 IProjectContent