ErrorTextFormatParser Class

Scanjour Workflow4 Reference Manual
Utility class, which is responsible for parsing error text formats. When parsing an error text format, some parameters can be specified in curled braces. Each parameter specifies an index of a filtering entry (zero based), an instruction to the filtering entry and optional arguments. To specify how each parameter is interpreted a delegate is defined (ErrorTextFormatParserGetParameterText).
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.ActivityLibrary.ErrorManagementErrorTextFormatParser

Namespace:  Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.1.6.0 (in Scanjour.Workflow4.ActivityLibrary_19.1.6.0.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax

public static class ErrorTextFormatParser

The ErrorTextFormatParser type exposes the following members.

Methods

  NameDescription
Public methodStatic memberParse
Parses an error text format containing patterns, which will be resolved. Patterns are contained inside curled braces. E.g. “I found {0:xxx} errors!”. The first value (0) is the zero-based index of filtering entry, which will provide a text that will be substitute the pattern. The “:xxx” specifies arguments to the filtering entry, which can be used by the filtering entry to generate the text.
Top
See Also

Reference