Ilya Shvetsov

Results 7 comments of Ilya Shvetsov

>The Prometheus metrics format is quite simple, so if you just want to convert some external metrics, writing some custom code to generate the Prometheus format metrics might be the...

Windows allows to open file with delete access. one needs to specify FILE_SHARE_DELETE for CreateFile api call.

well, ok. here is from MS Docs: The DeleteFile function fails if an application attempts to delete a file that has other handles open for normal I/O or as a...

After some debugging I found out that internally you have contract's cache. During very first deserialization of Hashtable you create contract for it with 'Item' and 'Key' contracts set to...

well, dictionary is not a goal of this converter. its goal is find json object and convert it to Hashtable with some extra conversion rules. I do not expect that...

@elgonzo got it working with using your proposal. Thank you very much. but had to add case for Hashtable like this: ``` if (objectType == typeof(Hashtable)) { contract.ItemConverter = new...

@elgonzo unfortunately proposed solution did not work well in all the cases, so, I had to override array contract creation and object contract creation