C# Класс OneNoteConversionTool.Utility

Class that contains a bunch of helper methods for ConversionTool
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
EpubSupportedExtenssions string[]
InDesignSupportedExtenssions string[]
PdfSupportedExtenssions string[]
PowerPointSupportedExtenssions string[]
WordSupportedExtenssions string[]

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

Метод Описание
CreateDirectory ( string pathDir ) : string

Helper method to create a directory

DeleteDirectory ( string targetDir ) : bool

Helper method to delete directory and its contents recursively

NewFilePath ( string dir, string fileName, string extension ) : string

Helper method to get a path of a new file in a given directory Note: this method doesn't create the file

NewFolderPath ( string dir, string folderName ) : string

Helper method to get a path of a new folder in a given directory Note: this method doesn't create the folder

UnescapeXml ( string docContent ) : string

Changes the escape sequence characters with the equivalant characters.

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

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

Helper method to create a directory
public static CreateDirectory ( string pathDir ) : string
pathDir string
Результат string

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

Helper method to delete directory and its contents recursively
public static DeleteDirectory ( string targetDir ) : bool
targetDir string
Результат bool

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

Helper method to get a path of a new file in a given directory Note: this method doesn't create the file
public static NewFilePath ( string dir, string fileName, string extension ) : string
dir string Directory where the file will be created
fileName string Name of the file
extension string Extension of the file
Результат string

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

Helper method to get a path of a new folder in a given directory Note: this method doesn't create the folder
public static NewFolderPath ( string dir, string folderName ) : string
dir string Directory where the folder will be created
folderName string Name of the folder
Результат string

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

Changes the escape sequence characters with the equivalant characters.
public static UnescapeXml ( string docContent ) : string
docContent string Document content.
Результат string

Описание свойств

EpubSupportedExtenssions публичное статическое свойство

public static string[] EpubSupportedExtenssions
Результат string[]

InDesignSupportedExtenssions публичное статическое свойство

public static string[] InDesignSupportedExtenssions
Результат string[]

PdfSupportedExtenssions публичное статическое свойство

public static string[] PdfSupportedExtenssions
Результат string[]

PowerPointSupportedExtenssions публичное статическое свойство

public static string[] PowerPointSupportedExtenssions
Результат string[]

WordSupportedExtenssions публичное статическое свойство

public static string[] WordSupportedExtenssions
Результат string[]