× Use Easybots Studio to download and use the bots from this app

App

Type Converters

Free

Description

Bots that know how to cast and convert one type to another type. For example: - casting from 'object' to the needed type - serializing to bytes - deserializing from bytes These bots are especcially handy when using the 'foreach' operator in the easybots' solutions, to convert from 'object' to the correct type.

Author

Easybots Devs

Version

1.0.30.1

Available bots in this app

Converter
Actions
String2Int

Inputs

  • NumberAsText : String

Returns

  • return : Int32
Object2Int

Inputs

  • int object : Object

Returns

  • return : Int32
Object2Decimal

Inputs

  • decimal object : Object

Returns

  • return : Decimal
String2Decimal

Inputs

  • NumberAsText : String

Returns

  • return : Decimal
Object2DateTime

Inputs

  • DateTime object : Object

Returns

  • return : DateTime
Object2Bool

Inputs

  • Bool object : Object

Returns

  • return : Boolean
Object2ByteArray

Inputs

  • object : Object

Returns

  • return : Byte[]
NameIntCollectionConverter
Actions
ToNameBytesCollection

Inputs

  • input : NameIntCollection

Returns

  • return : NameBytesCollection
FromNameBytesCollection

Inputs

  • input : NameBytesCollection

Returns

  • return : NameIntCollection
FromNameBytesPair

Inputs

  • DataModel : NameBytesPair

Returns

  • DataModel : NameIntPair
    • Name : String
    • Number : Int32
ToNameBytesPair

Inputs

  • DataModel : NameIntPair

Returns

  • DataModel : NameBytesPair
    • Name : String
    • Bytes : Byte[]
NameStringCollectionConverter
Actions
ToNameBytesCollection

Inputs

  • input : NameStringCollection

Returns

  • return : NameBytesCollection
FromNameBytesCollection

Inputs

  • input : NameBytesCollection

Returns

  • return : NameStringCollection
FromNameBytesPair

Inputs

  • DataModel : NameBytesPair

Returns

  • DataModel : NameStringPair
    • Name : String
    • StringValue : String
ToNameBytesPair

Inputs

  • DataModel : NameStringPair

Returns

  • DataModel : NameBytesPair
    • Name : String
    • Bytes : Byte[]
TypeConverterBot
Actions
FromObject

Inputs

  • input : Defined_When_App_Started

Returns

  • return : Defined_When_App_Started
FromBytes

Inputs

  • input : Defined_When_App_Started

Returns

  • return : Defined_When_App_Started
ToBytes

Inputs

  • input : Defined_When_App_Started

Returns

  • return : Defined_When_App_Started