fitsharp icon indicating copy to clipboard operation
fitsharp copied to clipboard

dynamic type operator

Open jediwhale opened this issue 15 years ago • 1 comments

match on typeof(object). use result.gettype to pick real operator

jediwhale avatar Oct 16 '09 20:10 jediwhale

This might already be handled by fitsharp

We had a problem with our own DoFixtures, where we use a read function to retrieve object properties, returning type object. The type of the returned object instance depends on the actual property requested, for example string. The problem is that the FlowFixtureBase. Check() method uses the return type of the accessor (in this case "object") to pass to the possible cell handlers to find a match; the RegEx and NumericCompare both did not match because they require string and numeric types.

jediwhale avatar Jan 14 '10 00:01 jediwhale