Tinkerforge/generators — pull request #8 by NobodysNightmare (2012-05-08 13:53:01+00:00)
Title: C#: return values instead of out-parameters

Hello,
this Pull Request is related to issue #5. I could not attach it directly to the Issue (at least i didn't see how).

What does it currently do?
--------------------------------------
- create methods like "public bool IsEnabled(byte servo)" when there is only a single out-param
- create their respective "old-style" methods with an obsolete attribute

What does it not do?
------------------------------
I did not update the examples, nor did I update the documentation-generator. This is because the doc-generators don't seem to run if I only check out the generator-repository. I will have to look into that, currently I do not even know what I will have to change there

Caveats?
-------------
This change was quite big compared to the previous ones and I am not able to test it widely. However it compiles on the current configs and works with my small test-application i use for my bricks/bricklets, so it should be okay.

There will also be some code-cleanup before this is ready for pull, but maybe there is something you want to note right now.