This removes all of the (now actually non-trivial) conversion logic from the class which is actually responsible for executing the Jint engine. This moves it all to a new service which uses chain of responsibility to convert the result, using one of a few different mechanisms. Of note is the handling of ExpandoObject when no specific type information has been provided, and also the handling of enumerables, with the exception of strings. |
||
|---|---|---|
| .. | ||
| ConvertChangeTypeResultConverterTests.cs | ||
| EnumerableResultConverterTests.cs | ||
| ExpandoObjectToDictionaryWhenNoDesiredTypeResultConverterTests.cs | ||
| JintEvaluatorWithConverterAttribute.cs | ||
| JintJavaScriptEvaluatorTests.cs | ||
| ServiceProviderForConvertersAttribute.cs | ||