C# Class PackmanVsix.ProjectHelpers

Afficher le fichier Open project: madskristensen/Packman Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetChildProjects ( Project parent ) : IEnumerable

Method Details

AddFileToProject() public static méthode

public static AddFileToProject ( this project, string file, string itemType = null ) : void
project this
file string
itemType string
Résultat void

AddFilesToProject() public static méthode

public static AddFilesToProject ( this project, IEnumerable files ) : void
project this
files IEnumerable
Résultat void

CheckFileOutOfSourceControl() public static méthode

public static CheckFileOutOfSourceControl ( string file ) : void
file string
Résultat void

GetActiveProject() public static méthode

public static GetActiveProject ( ) : Project
Résultat Project

GetAllProjects() public static méthode

public static GetAllProjects ( ) : IEnumerable
Résultat IEnumerable

GetConfigFile() public static méthode

public static GetConfigFile ( this project ) : string
project this
Résultat string

GetFullPath() public static méthode

public static GetFullPath ( this item ) : string
item this
Résultat string

GetRootFolder() public static méthode

public static GetRootFolder ( this project ) : string
project this
Résultat string

GetSelectedItems() public static méthode

public static GetSelectedItems ( ) : IEnumerable
Résultat IEnumerable

IsConfigFile() public static méthode

public static IsConfigFile ( this item ) : bool
item this
Résultat bool

IsKind() public static méthode

public static IsKind ( this project, string kindGuid ) : bool
project this
kindGuid string
Résultat bool

SetItemType() public static méthode

public static SetItemType ( this item, string itemType ) : void
item this
itemType string
Résultat void