C# Класс SDL.TridionVSRazorExtension.Common.Configuration.Service

Показать файл Открыть проект

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

Метод Описание
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

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

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

public static AddChildItems ( ProjectFolderInfo projectFolder, string rootPath ) : void
projectFolder ProjectFolderInfo
rootPath string
Результат void

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

public static ClearConfiguration ( this configuration ) : Configuration
configuration this
Результат Configuration

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

public static ClearMapping ( this mapping ) : MappingInfo
mapping this
Результат MappingInfo

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

public static ClearProjectFolder ( this projectFolder, bool checkChecked ) : ProjectFolderInfo
projectFolder this
checkChecked bool
Результат ProjectFolderInfo

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

public static DeleteFileFromMapping ( ProjectFolderInfo folder, string filePath ) : void
folder ProjectFolderInfo
filePath string
Результат void

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

public static ExistFile ( ProjectFolderInfo projectFolder, string dir ) : bool
projectFolder ProjectFolderInfo
dir string
Результат bool

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

public static ExistFile ( ProjectFolderInfo projectFolder, string dir, string extension ) : bool
projectFolder ProjectFolderInfo
dir string
extension string
Результат bool

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

public static ExistsTcmId ( this folder, string tcmId ) : bool
folder this
tcmId string
Результат bool

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

public static Expand ( this folder ) : void
folder this
Результат void

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

public static GetConfiguration ( string rootPath, string name ) : Configuration
rootPath string
name string
Результат Configuration

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

public static GetDefault ( string rootPath ) : Configuration
rootPath string
Результат Configuration

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

public static GetDefaultMapping ( string rootPath, string name ) : MappingInfo
rootPath string
name string
Результат MappingInfo

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

public static GetFileTree ( ProjectFolderInfo projectFolder, string rootPath ) : IEnumerable
projectFolder ProjectFolderInfo
rootPath string
Результат IEnumerable

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

public static GetFiles ( this mapping, string filePath ) : List
mapping this
filePath string
Результат List

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

public static GetFolders ( this mapping, string filePath ) : List
mapping this
filePath string
Результат List

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

public static GetFoldersByPath ( this mapping, string path ) : List
mapping this
path string
Результат List

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

public static GetRootTree ( ProjectFolderInfo projectFolder, string fullPath ) : ProjectFolderInfo
projectFolder ProjectFolderInfo
fullPath string
Результат ProjectFolderInfo

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

public static GetSelectedFolderFromTree ( IEnumerable tree ) : ProjectFolderInfo
tree IEnumerable
Результат ProjectFolderInfo

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

public static GetTopFolder ( this item ) : ProjectFolderInfo
item this
Результат ProjectFolderInfo

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

public static IsChecked ( this file ) : bool
file this
Результат bool

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

public static IsSyncTemplate ( this file ) : bool
file this
Результат bool

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

public static ProjectFolderRole ( this file ) : ProjectFolderRole
file this
Результат ProjectFolderRole

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

public static SaveConfiguration ( string rootPath, string name, Configuration configuration ) : void
rootPath string
name string
configuration Configuration
Результат void

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

public static SetRootPath ( ProjectFolderInfo folder, string rootPath ) : void
folder ProjectFolderInfo
rootPath string
Результат void

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

public static TemplateFormat ( this file ) : string
file this
Результат string