C# Класс PackmanVsix.ProjectHelpers

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

Открытые методы

Метод Описание
AddFileToProject ( this project, string file, string itemType = null ) : void
AddFilesToProject ( this project, IEnumerable files ) : void
CheckFileOutOfSourceControl ( string file ) : void
GetActiveProject ( ) : Project
GetAllProjects ( ) : IEnumerable
GetConfigFile ( this project ) : string
GetFullPath ( this item ) : string
GetRootFolder ( this project ) : string
GetSelectedItems ( ) : IEnumerable
IsConfigFile ( this item ) : bool
IsKind ( this project, string kindGuid ) : bool
SetItemType ( this item, string itemType ) : void

Приватные методы

Метод Описание
GetChildProjects ( Project parent ) : IEnumerable

Описание методов

AddFileToProject() публичный статический Метод

public static AddFileToProject ( this project, string file, string itemType = null ) : void
project this
file string
itemType string
Результат void

AddFilesToProject() публичный статический Метод

public static AddFilesToProject ( this project, IEnumerable files ) : void
project this
files IEnumerable
Результат void

CheckFileOutOfSourceControl() публичный статический Метод

public static CheckFileOutOfSourceControl ( string file ) : void
file string
Результат void

GetActiveProject() публичный статический Метод

public static GetActiveProject ( ) : Project
Результат Project

GetAllProjects() публичный статический Метод

public static GetAllProjects ( ) : IEnumerable
Результат IEnumerable

GetConfigFile() публичный статический Метод

public static GetConfigFile ( this project ) : string
project this
Результат string

GetFullPath() публичный статический Метод

public static GetFullPath ( this item ) : string
item this
Результат string

GetRootFolder() публичный статический Метод

public static GetRootFolder ( this project ) : string
project this
Результат string

GetSelectedItems() публичный статический Метод

public static GetSelectedItems ( ) : IEnumerable
Результат IEnumerable

IsConfigFile() публичный статический Метод

public static IsConfigFile ( this item ) : bool
item this
Результат bool

IsKind() публичный статический Метод

public static IsKind ( this project, string kindGuid ) : bool
project this
kindGuid string
Результат bool

SetItemType() публичный статический Метод

public static SetItemType ( this item, string itemType ) : void
item this
itemType string
Результат void