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

显示文件 Open project: mvlasenko/TridionVSRazorExtension

Public Methods

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

public static AddChildItems ( ProjectFolderInfo projectFolder, string rootPath ) : void
projectFolder ProjectFolderInfo
rootPath string
return void

ClearConfiguration() public static method

public static ClearConfiguration ( this configuration ) : Configuration
configuration this
return Configuration

ClearMapping() public static method

public static ClearMapping ( this mapping ) : MappingInfo
mapping this
return MappingInfo

ClearProjectFolder() public static method

public static ClearProjectFolder ( this projectFolder, bool checkChecked ) : ProjectFolderInfo
projectFolder this
checkChecked bool
return ProjectFolderInfo

DeleteFileFromMapping() public static method

public static DeleteFileFromMapping ( ProjectFolderInfo folder, string filePath ) : void
folder ProjectFolderInfo
filePath string
return void

ExistFile() public static method

public static ExistFile ( ProjectFolderInfo projectFolder, string dir ) : bool
projectFolder ProjectFolderInfo
dir string
return bool

ExistFile() public static method

public static ExistFile ( ProjectFolderInfo projectFolder, string dir, string extension ) : bool
projectFolder ProjectFolderInfo
dir string
extension string
return bool

ExistsTcmId() public static method

public static ExistsTcmId ( this folder, string tcmId ) : bool
folder this
tcmId string
return bool

Expand() public static method

public static Expand ( this folder ) : void
folder this
return void

GetConfiguration() public static method

public static GetConfiguration ( string rootPath, string name ) : Configuration
rootPath string
name string
return Configuration

GetDefault() public static method

public static GetDefault ( string rootPath ) : Configuration
rootPath string
return Configuration

GetDefaultMapping() public static method

public static GetDefaultMapping ( string rootPath, string name ) : MappingInfo
rootPath string
name string
return MappingInfo

GetFileTree() public static method

public static GetFileTree ( ProjectFolderInfo projectFolder, string rootPath ) : IEnumerable
projectFolder ProjectFolderInfo
rootPath string
return IEnumerable

GetFiles() public static method

public static GetFiles ( this mapping, string filePath ) : List
mapping this
filePath string
return List

GetFolders() public static method

public static GetFolders ( this mapping, string filePath ) : List
mapping this
filePath string
return List

GetFoldersByPath() public static method

public static GetFoldersByPath ( this mapping, string path ) : List
mapping this
path string
return List

GetRootTree() public static method

public static GetRootTree ( ProjectFolderInfo projectFolder, string fullPath ) : ProjectFolderInfo
projectFolder ProjectFolderInfo
fullPath string
return ProjectFolderInfo

GetSelectedFolderFromTree() public static method

public static GetSelectedFolderFromTree ( IEnumerable tree ) : ProjectFolderInfo
tree IEnumerable
return ProjectFolderInfo

GetTopFolder() public static method

public static GetTopFolder ( this item ) : ProjectFolderInfo
item this
return ProjectFolderInfo

IsChecked() public static method

public static IsChecked ( this file ) : bool
file this
return bool

IsSyncTemplate() public static method

public static IsSyncTemplate ( this file ) : bool
file this
return bool

ProjectFolderRole() public static method

public static ProjectFolderRole ( this file ) : ProjectFolderRole
file this
return ProjectFolderRole

SaveConfiguration() public static method

public static SaveConfiguration ( string rootPath, string name, Configuration configuration ) : void
rootPath string
name string
configuration Configuration
return void

SetRootPath() public static method

public static SetRootPath ( ProjectFolderInfo folder, string rootPath ) : void
folder ProjectFolderInfo
rootPath string
return void

TemplateFormat() public static method

public static TemplateFormat ( this file ) : string
file this
return string