C# Class PackmanVsix.ProjectHelpers

ファイルを表示 Open project: madskristensen/Packman Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetChildProjects ( Project parent ) : IEnumerable

Method Details

AddFileToProject() public static method

public static AddFileToProject ( this project, string file, string itemType = null ) : void
project this
file string
itemType string
return void

AddFilesToProject() public static method

public static AddFilesToProject ( this project, IEnumerable files ) : void
project this
files IEnumerable
return void

CheckFileOutOfSourceControl() public static method

public static CheckFileOutOfSourceControl ( string file ) : void
file string
return void

GetActiveProject() public static method

public static GetActiveProject ( ) : Project
return Project

GetAllProjects() public static method

public static GetAllProjects ( ) : IEnumerable
return IEnumerable

GetConfigFile() public static method

public static GetConfigFile ( this project ) : string
project this
return string

GetFullPath() public static method

public static GetFullPath ( this item ) : string
item this
return string

GetRootFolder() public static method

public static GetRootFolder ( this project ) : string
project this
return string

GetSelectedItems() public static method

public static GetSelectedItems ( ) : IEnumerable
return IEnumerable

IsConfigFile() public static method

public static IsConfigFile ( this item ) : bool
item this
return bool

IsKind() public static method

public static IsKind ( this project, string kindGuid ) : bool
project this
kindGuid string
return bool

SetItemType() public static method

public static SetItemType ( this item, string itemType ) : void
item this
itemType string
return void