-
Notifications
You must be signed in to change notification settings - Fork 216
Update filesystem demo in C# #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| #include "Memory.h" | ||
|
|
||
| using namespace std; | ||
| using namespace Memory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switch to namespace Server and no using namespace like in other C++ demos.
| private readonly string _name; | ||
| private readonly List<Filesystem.NodePrx> _contents = new(); | ||
|
|
||
| /// <inheritdoc/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is currently nothing to inherit currently as slice2cs neglects to generate doc-comments for server-side interfaces / classes.
| private readonly List<Filesystem.NodePrx> _contents = new(); | ||
|
|
||
| /// <inheritdoc/> | ||
| public override string Name(Ice.Current current) => _name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlike the C++ version, we can't define a MNode and reuse it. That's because XxxDisp_ is a class.
It's now in sync with the C++ version.