C# 클래스 OneNoteConversionTool.Utility

Class that contains a bunch of helper methods for ConversionTool
파일 보기 프로젝트 열기: OneNoteDev/OneNoteConversionTool

공개 프로퍼티들

프로퍼티 타입 설명
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[]