Hi!,
Because Xeption creates data dictionary elements as a List, could be interesting to have a method to retrieve an element of the dictionary casted to the right type. Actually, for example, when I need to access Data is returned as object and has to be converted in every piece of code....which it´s a little bit ugly and redundant.
((List<string>)exception.Data[key])[0]
So, how do you feel about this sugestion?
Thanks,
Hi!,
Because Xeption creates data dictionary elements as a List, could be interesting to have a method to retrieve an element of the dictionary casted to the right type. Actually, for example, when I need to access Data is returned as object and has to be converted in every piece of code....which it´s a little bit ugly and redundant.
So, how do you feel about this sugestion?
Thanks,