Closed keithrfung closed 2 years ago
Can I take this one?
@askalik you got it!
the C++ api is pretty well documented. For instance the encryptBallot function. You'll notice in the netstandard c# implementation i've tried to just pull it over directly but some of the params and names are off, or the documentation is missing entirely for some public members, etc. Here's the c# Encrypt.Ballot as a reference too. In most cases you should be able to just use what is in c++ as an example but please reach out if you have any questions
Is there an existing issue for this?
Suggestion
During the compilation of the the C# project in bindings, there are errors related specifically to XML comments. These should be easily resolved with some
/// summary
tags. The descriptions can be pulled from the python repo or the underlying c code, whichever is easier.These can be seen in this example run under
windows-2019-gcc-9.2.0
orwindows-2019-msvc-latest
.Examples
The following warnings:
Possible Implementation
Add XML comments for the c sharp members
https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1570 https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1572 https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1573 https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1591
Anything else?
Replaces Issue #188