C# 클래스 ExoMerge.Aspose.MergeFields.MergeFieldSwitchParser

Parses trailing switches from a MERGEFIELD's code.
상속: IOptionParser
파일 보기 프로젝트 열기: vc3/ExoMerge

공개 메소드들

메소드 설명
ExtractOptions ( string code, string>.KeyValuePair &switches ) : string

Extract switches from the given MERGEFIELD code and return the remainder of the code that doesn't pertain to the extracted switches.

MergeFieldSwitchParser ( ) : System.Collections.Generic

Creates a new merge field switch parser that will extract any switches that are found.

MergeFieldSwitchParser ( string switchKeys ) : System.Collections.Generic

Creates a new merge field switch parser that will extract only the given switches.

비공개 메소드들

메소드 설명
RemoveSurroundingQuotes ( string value ) : string

Remove surrounding quotes from the given string.

메소드 상세

ExtractOptions() 공개 메소드

Extract switches from the given MERGEFIELD code and return the remainder of the code that doesn't pertain to the extracted switches.
public ExtractOptions ( string code, string>.KeyValuePair &switches ) : string
code string The MERGEFIELD code to extract switches from.
switches string>.KeyValuePair The extracted switches.
리턴 string

MergeFieldSwitchParser() 공개 메소드

Creates a new merge field switch parser that will extract any switches that are found.
public MergeFieldSwitchParser ( ) : System.Collections.Generic
리턴 System.Collections.Generic

MergeFieldSwitchParser() 공개 메소드

Creates a new merge field switch parser that will extract only the given switches.
public MergeFieldSwitchParser ( string switchKeys ) : System.Collections.Generic
switchKeys string The switches to extract.
리턴 System.Collections.Generic