C# Class ExoMerge.Aspose.MergeFields.MergeFieldSwitchParser

Parses trailing switches from a MERGEFIELD's code.
Inheritance: IOptionParser
Afficher le fichier Open project: vc3/ExoMerge

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
RemoveSurroundingQuotes ( string value ) : string

Remove surrounding quotes from the given string.

Method Details

ExtractOptions() public méthode

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.
Résultat string

MergeFieldSwitchParser() public méthode

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

MergeFieldSwitchParser() public méthode

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.
Résultat System.Collections.Generic