Click or drag to resize

FormatStringOperator Class

Represents the FORMATSTRING operator, which formats the supplied input variable with the specified format.

Format: FORMATSTRING(input_var, format_string)

Result: string.Format($"\{0:{format_string}\}", input_var)

Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.Systems.Bpm.ExpressionCompiler.Operators
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class FormatStringOperator : NamedOperator

The FormatStringOperator type exposes the following members.

Constructors
  NameDescription
Public methodFormatStringOperator
Initializes a new instance of the FormatStringOperator class
Top
Properties
  NameDescription
Public propertyCompilation
Gets or sets the compilation to which this operator belongs.
(Inherited from Operator.)
Public propertyInput
Gets or sets the expression representing the input object.
(Inherited from Operator.)
Public propertyName
Gets the name.
(Inherited from NamedOperator.)
Public propertyOperatorNo
Gets the operator no within the compilation.
(Inherited from Operator.)
Public propertyParameters
Gets or sets the parameters.
(Inherited from Operator.)
Public propertyResult
Gets the result expression, set by the latest compilation. It represents the operator, applied over the input object and parameters.
(Inherited from Operator.)
Top
Methods
  NameDescription
Public methodCompile
Compiles this operator and sets the result in Result.
(Inherited from Operator.)
Public methodToString
Returns a String that represents this instance.
(Inherited from Operator.)
Top
See Also