C# Класс ExoMerge.Aspose.MergeFields.MergeFieldSwitchParser

Parses trailing switches from a MERGEFIELD's code.
Наследование: IOptionParser
Показать файл Открыть проект

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

Метод Описание
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