C# Класс XWord.Util.UtilityClass

Provides misc functionality for the add-in.
Показать файл Открыть проект

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

Метод Описание
GenerateUniqueFileName ( String initialFileName, String folder ) : String

Generates an unique filename based on the existing files in a folder.

IsWildcardMatch ( String wildcard, String text, bool casesensitive ) : bool

Compares a string withs another string that contains whildcards.

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

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

Generates an unique filename based on the existing files in a folder.
public static GenerateUniqueFileName ( String initialFileName, String folder ) : String
initialFileName String The initial file name.
folder String The folder where the file will be saved.
Результат String

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

Compares a string withs another string that contains whildcards.
public static IsWildcardMatch ( String wildcard, String text, bool casesensitive ) : bool
wildcard String The wildcard string.
text String The compared strings.
casesensitive bool Specifies if the comparation shouls be case sensitive or not.
Результат bool