Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Oct 6, 2023
1 parent 8237ff7 commit 58ed88d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ hello.sayHello();

```csharp
// Server application
using(var communicator = Ice.Util.initialize(ref args))
using(var communicator = Ice.Util.initialize(ref args))

// Shut down the communicator on Ctrl+C or Ctrl+Break.
Console.CancelKeyPress += (sender, eventArgs) =>
Expand All @@ -39,7 +39,9 @@ Console.CancelKeyPress += (sender, eventArgs) =>
communicator.shutdown();
};

var adapter = communicator.createObjectAdapterWithEndpoints("Hello", "default -h localhost -p 10000");
var adapter = communicator.createObjectAdapterWithEndpoints(
"Hello",
"default -h localhost -p 10000");
adapter.add(new Printer(), Ice.Util.stringToIdentity("hello"));
adapter.activate();
communicator.waitForShutdown();
Expand Down

0 comments on commit 58ed88d

Please sign in to comment.