C# Класс ICSharpCode.NRefactory.CSharp.CSharpProjectContent

Наследование: IProjectContent
Показать файл Открыть проект Примеры использования класса

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