I want to create a unit that gets a value from a dictionary. The dictionary is of type Dictionary<string,object>
I'd like to create a Unit that takes a key as input and returns the value cast to a specific type. Is there some "generic" way I can do this to avoid having to create a wrapper for (int)MyDictionary["MyIntValue"] and (float)MyDictionary["MyFloatValue"] as separate units. A bit like how the Literal unit works I guess?
Customer support service by UserEcho