Converters
Namespace: Gjallarhorn
Parent Module: Validation
Library of validation converters which can be used to convert value representations as part of the validation process
Functions and values
Function or value | Description |
fromTo input
Signature: input:ValidationCollector<'a> -> ValidationCollector<'b>
Type parameters: 'a, 'b
|
Convert between any two types, using System.Convert.ChangeType
|
stringToDouble input
Signature: input:ValidationCollector<string> -> ValidationCollector<float>
|
Convert from a string to a 64bit float
|
stringToDoubleC style provider input
Signature: style:NumberStyles -> provider:IFormatProvider -> input:ValidationCollector<string> -> ValidationCollector<float>
|
Convert from a string to a double specifying culture information
|
stringToInt32 input
Signature: input:ValidationCollector<string> -> ValidationCollector<int>
|
Convert from a string to an integer
|
stringToInt32C style provider input
Signature: style:NumberStyles -> provider:IFormatProvider -> input:ValidationCollector<string> -> ValidationCollector<int>
|
Convert from a string to an integer specifying culture information
|
toSelf input
Signature: input:ValidationCollector<'a> -> ValidationCollector<'a>
Type parameters: 'a
|
An "id" style conversion which does nothing
|
toString input
Signature: input:ValidationCollector<'a> -> ValidationCollector<string>
Type parameters: 'a
|
Convert to a string representation using Object.ToString()
|