C# 클래스 XWord.Util.UtilityClass

Provides misc functionality for the add-in.
파일 보기 프로젝트 열기: xwiki-contrib/xwiki-office

공개 메소드들

메소드 설명
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