Interface IPrimitive
Representative of a primitive element (usually used in ABR Inputs). These should match the primitive input types in the schema.
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public interface IPrimitive : IABRInput
Properties
| Improve this Doc View SourceParsingRegex
The regex to use to convert this from a string. Group named "value" should be the floating point number, group named "units" should be the units, if any.
Declaration
Regex ParsingRegex { get; }
Property Value
Type | Description |
---|---|
Regex |
Methods
| Improve this Doc View SourceSetFromString(string)
Set the value of the primitive from a string (similar to using the string constructor)
Declaration
void SetFromString(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
ToString()
Convert the primitive to a string so it can be sent along with the state
Declaration
string ToString()
Returns
Type | Description |
---|---|
string |