C# Класс JavaScriptEngineSwitcher.Core.Helpers.PathHelpers

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

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

Метод Описание
ContainsDirectory ( string path, string directoryName ) : bool

Determines whether the path contains the specified directory

ProcessBackSlashes ( string path ) : string

Converts a back slashes to forward slashes

RemoveDirectoryFromPath ( string path, string directoryName ) : string

Removes a directory from path

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

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

Determines whether the path contains the specified directory
public static ContainsDirectory ( string path, string directoryName ) : bool
path string Path
directoryName string Name of directory
Результат bool

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

Converts a back slashes to forward slashes
public static ProcessBackSlashes ( string path ) : string
path string Path with back slashes
Результат string

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

Removes a directory from path
public static RemoveDirectoryFromPath ( string path, string directoryName ) : string
path string Path
directoryName string Name of directory
Результат string