C# Class SDL.TridionVSRazorExtension.Common.Configuration.Service

Afficher le fichier Open project: mvlasenko/TridionVSRazorExtension

Méthodes publiques

Méthode Description
AddChildItems ( ProjectFolderInfo projectFolder, string rootPath ) : void
ClearConfiguration ( this configuration ) : Configuration
ClearMapping ( this mapping ) : MappingInfo
ClearProjectFolder ( this projectFolder, bool checkChecked ) : ProjectFolderInfo
DeleteFileFromMapping ( ProjectFolderInfo folder, string filePath ) : void
ExistFile ( ProjectFolderInfo projectFolder, string dir ) : bool
ExistFile ( ProjectFolderInfo projectFolder, string dir, string extension ) : bool
ExistsTcmId ( this folder, string tcmId ) : bool
Expand ( this folder ) : void
GetConfiguration ( string rootPath, string name ) : Configuration
GetDefault ( string rootPath ) : Configuration
GetDefaultMapping ( string rootPath, string name ) : MappingInfo
GetFileTree ( ProjectFolderInfo projectFolder, string rootPath ) : IEnumerable
GetFiles ( this mapping, string filePath ) : List
GetFolders ( this mapping, string filePath ) : List
GetFoldersByPath ( this mapping, string path ) : List
GetRootTree ( ProjectFolderInfo projectFolder, string fullPath ) : ProjectFolderInfo
GetSelectedFolderFromTree ( IEnumerable tree ) : ProjectFolderInfo
GetTopFolder ( this item ) : ProjectFolderInfo
IsChecked ( this file ) : bool
IsSyncTemplate ( this file ) : bool
ProjectFolderRole ( this file ) : ProjectFolderRole
SaveConfiguration ( string rootPath, string name, Configuration configuration ) : void
SetRootPath ( ProjectFolderInfo folder, string rootPath ) : void
TemplateFormat ( this file ) : string

Method Details

AddChildItems() public static méthode

public static AddChildItems ( ProjectFolderInfo projectFolder, string rootPath ) : void
projectFolder ProjectFolderInfo
rootPath string
Résultat void

ClearConfiguration() public static méthode

public static ClearConfiguration ( this configuration ) : Configuration
configuration this
Résultat Configuration

ClearMapping() public static méthode

public static ClearMapping ( this mapping ) : MappingInfo
mapping this
Résultat MappingInfo

ClearProjectFolder() public static méthode

public static ClearProjectFolder ( this projectFolder, bool checkChecked ) : ProjectFolderInfo
projectFolder this
checkChecked bool
Résultat ProjectFolderInfo

DeleteFileFromMapping() public static méthode

public static DeleteFileFromMapping ( ProjectFolderInfo folder, string filePath ) : void
folder ProjectFolderInfo
filePath string
Résultat void

ExistFile() public static méthode

public static ExistFile ( ProjectFolderInfo projectFolder, string dir ) : bool
projectFolder ProjectFolderInfo
dir string
Résultat bool

ExistFile() public static méthode

public static ExistFile ( ProjectFolderInfo projectFolder, string dir, string extension ) : bool
projectFolder ProjectFolderInfo
dir string
extension string
Résultat bool

ExistsTcmId() public static méthode

public static ExistsTcmId ( this folder, string tcmId ) : bool
folder this
tcmId string
Résultat bool

Expand() public static méthode

public static Expand ( this folder ) : void
folder this
Résultat void

GetConfiguration() public static méthode

public static GetConfiguration ( string rootPath, string name ) : Configuration
rootPath string
name string
Résultat Configuration

GetDefault() public static méthode

public static GetDefault ( string rootPath ) : Configuration
rootPath string
Résultat Configuration

GetDefaultMapping() public static méthode

public static GetDefaultMapping ( string rootPath, string name ) : MappingInfo
rootPath string
name string
Résultat MappingInfo

GetFileTree() public static méthode

public static GetFileTree ( ProjectFolderInfo projectFolder, string rootPath ) : IEnumerable
projectFolder ProjectFolderInfo
rootPath string
Résultat IEnumerable

GetFiles() public static méthode

public static GetFiles ( this mapping, string filePath ) : List
mapping this
filePath string
Résultat List

GetFolders() public static méthode

public static GetFolders ( this mapping, string filePath ) : List
mapping this
filePath string
Résultat List

GetFoldersByPath() public static méthode

public static GetFoldersByPath ( this mapping, string path ) : List
mapping this
path string
Résultat List

GetRootTree() public static méthode

public static GetRootTree ( ProjectFolderInfo projectFolder, string fullPath ) : ProjectFolderInfo
projectFolder ProjectFolderInfo
fullPath string
Résultat ProjectFolderInfo

GetSelectedFolderFromTree() public static méthode

public static GetSelectedFolderFromTree ( IEnumerable tree ) : ProjectFolderInfo
tree IEnumerable
Résultat ProjectFolderInfo

GetTopFolder() public static méthode

public static GetTopFolder ( this item ) : ProjectFolderInfo
item this
Résultat ProjectFolderInfo

IsChecked() public static méthode

public static IsChecked ( this file ) : bool
file this
Résultat bool

IsSyncTemplate() public static méthode

public static IsSyncTemplate ( this file ) : bool
file this
Résultat bool

ProjectFolderRole() public static méthode

public static ProjectFolderRole ( this file ) : ProjectFolderRole
file this
Résultat ProjectFolderRole

SaveConfiguration() public static méthode

public static SaveConfiguration ( string rootPath, string name, Configuration configuration ) : void
rootPath string
name string
configuration Configuration
Résultat void

SetRootPath() public static méthode

public static SetRootPath ( ProjectFolderInfo folder, string rootPath ) : void
folder ProjectFolderInfo
rootPath string
Résultat void

TemplateFormat() public static méthode

public static TemplateFormat ( this file ) : string
file this
Résultat string