elsa-core/src/core
James Doran 205487425a
Variable fixes (#211)
* GetVariable<T> now uses Convert.ChangeType

Fixes issue where saving an Int32, serialising and deserialising, then accessing with GetVariable<int>(...) no longer causes type cast exception.
The saved value is a JValue which treats Int32 as Int64. Convert.ChangeType has a better chance of performing conversion without error.
Also returns default of T if the variable isn't found.

* Added SetVariable overload in Variables

To prevent double-wrapping objects in more than 1 Variable object
2019-12-13 17:51:01 +10:30
..
Elsa Add icons to packages 2019-11-22 17:34:55 +01:00
Elsa.Abstractions Variable fixes (#211) 2019-12-13 17:51:01 +10:30
Elsa.Core Update packages 2019-12-10 15:46:49 +01:00