C# 클래스 FluentFs.Support.Tokenization.TokenReplacer

Replaces tokens in a file
파일 보기 프로젝트 열기: SkightTeam/eLiteWeb 1 사용 예제들

공개 메소드들

메소드 설명
ReplaceToken ( string token ) : TokenWith

Replaces a token in a string using a default delimiter of @

ReplaceToken ( string token, string delimiter ) : TokenWith

Replaces a token in a string

To ( string destination ) : void

Outputs the token replaced to a file

ToString ( ) : string

비공개 메소드들

메소드 설명
TokenReplacer ( IFileSystemWrapper fileSystemWrapper, string input ) : System.IO
TokenReplacer ( string input ) : System.IO

메소드 상세

ReplaceToken() 공개 메소드

Replaces a token in a string using a default delimiter of @
public ReplaceToken ( string token ) : TokenWith
token string the token to replace (without the delimiter)
리턴 TokenWith

ReplaceToken() 공개 메소드

Replaces a token in a string
public ReplaceToken ( string token, string delimiter ) : TokenWith
token string the token to replace (without the delimiter)
delimiter string the delimiter that surrounds the token
리턴 TokenWith

To() 공개 메소드

Outputs the token replaced to a file
Occurs if the file already exists
public To ( string destination ) : void
destination string the destination path
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string