These are chat archives for Nethereum/Nethereum

6th
Apr 2016
Raymen Scholten
@raymens
Apr 06 2016 08:10
@juanfranblanco cool, thanks! Yay, disposables ;)
Juan Blanco
@juanfranblanco
Apr 06 2016 08:12
yes that is why I did not want to keep the connection open.. ill revert back to the original in the future when the change the filter behaviours
Raymen Scholten
@raymens
Apr 06 2016 08:13
cool, it's okay for now
Raymen Scholten
@raymens
Apr 06 2016 14:10
What do you think about changing the UnitConversion to a static class?
Juan Blanco
@juanfranblanco
Apr 06 2016 14:14
the idea was to mimic web3.js , so you can do web3.Convert.ToWei / FromWei
but you can introduce a singleton if needed
Raymen Scholten
@raymens
Apr 06 2016 14:14
Makes sense. What about proxying those calls to the static class?
Juan Blanco
@juanfranblanco
Apr 06 2016 14:15
the other way around better
Juan Blanco
@juanfranblanco
Apr 06 2016 14:21
But I have put static for extensions in Hex and ABI, so a proxy can be introduce... or UnitConversion.Convert.ToWei
where Convert. will be the singleton
less work on the latter
Raymen Scholten
@raymens
Apr 06 2016 14:23
I'm currently using Nethereum.Web3.UnitConversion().FromWei, anything that causes me to not require that () will make me happy ;)
Juan Blanco
@juanfranblanco
Apr 06 2016 14:23
and the new ()
Raymen Scholten
@raymens
Apr 06 2016 14:24
oh yeah but that's optional in F# :)
Juan Blanco
@juanfranblanco
Apr 06 2016 14:24
:)
Juan Blanco
@juanfranblanco
Apr 06 2016 14:29
Added let me know how it goes
Raymen Scholten
@raymens
Apr 06 2016 14:31
Wow :thumbsup:
frank_lbt
@fr4nky89
Apr 06 2016 23:49
,