Skip to content

Commit

Permalink
Remove (C#)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Sep 14, 2023
1 parent efb0c5c commit 2848402
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions src/IceRpc.Compressor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface Greeter {
```

```csharp
// Client application (C#)
// Client application
using IceRpc;
using VisitorCenter;
Expand All @@ -47,7 +47,7 @@ string greeting = await greeterProxy.GreetAsync(Environment.UserName);
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Slice;
Expand Down Expand Up @@ -78,7 +78,7 @@ interface Greeter {
```

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -102,7 +102,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
8 changes: 4 additions & 4 deletions src/IceRpc.Deadline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fields received with incoming requests.
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;

Expand All @@ -23,7 +23,7 @@ Pipeline pipeline = new Pipeline()
```

```csharp
// Server application (C#)
// Server application
using IceRpc;

Expand All @@ -39,7 +39,7 @@ server.Listen();
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -60,7 +60,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc.Extensions.DependencyInjection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ IceRpc.Extensions.DependencyInjection helps you build applications with [IceRPC]
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -32,7 +32,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
8 changes: 4 additions & 4 deletions src/IceRpc.Logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ logs every dispatch.
## Sample code

```csharp
// Client application (C#)
// Client application
using Microsoft.Extensions.Logging;
using IceRpc;
Expand All @@ -29,7 +29,7 @@ Pipeline pipeline = new Pipeline()
```

```csharp
// Server application (C#)
// Server application
using Microsoft.Extensions.Logging;
using IceRpc;
Expand All @@ -50,7 +50,7 @@ Router router = new Router()
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -71,7 +71,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
8 changes: 4 additions & 4 deletions src/IceRpc.Metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can display the collected measurements with [dotnet-counters][dotnet_counter
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;

Expand All @@ -23,7 +23,7 @@ Pipeline pipeline = new Pipeline().UseMetrics().Into(connection);
```

```csharp
// Server application (C#)
// Server application
using IceRpc;

Expand All @@ -34,7 +34,7 @@ Router router = new Router().UseMetrics().Map<...>(...);
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -55,7 +55,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
8 changes: 4 additions & 4 deletions src/IceRpc.RequestContext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ features.
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;

Expand All @@ -22,7 +22,7 @@ Pipeline pipeline = new Pipeline()
```

```csharp
// Server application (C#)
// Server application
using IceRpc;

Expand All @@ -38,7 +38,7 @@ server.Listen();
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -59,7 +59,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc.Retry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IceRpc.Retry provides an [IceRPC][icerpc-csharp] interceptor that retries failed
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;

Expand All @@ -22,7 +22,7 @@ Pipeline pipeline = new Pipeline()
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc.Slice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface Greeter {
```

```csharp
// Client application (C#)
// Client application
using IceRpc;
using VisitorCenter;
Expand All @@ -41,7 +41,7 @@ await connection.ShutdownAsync();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Features;
Expand Down
8 changes: 4 additions & 4 deletions src/IceRpc.Telemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ middleware restores the activity context and uses it to set the parent activity
## Sample code

```csharp
// Client application (C#)
// Client application
using IceRpc;

Expand All @@ -26,7 +26,7 @@ Pipeline pipeline = new Pipeline().UseTelemetry(activitySource).Into(connection)
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using VisitorCenter;
Expand All @@ -41,7 +41,7 @@ Router router = new Router().UseTelemetry(activitySource);
## Sample code with DI

```csharp
// Client application (C#)
// Client application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand All @@ -64,7 +64,7 @@ host.Run();
```

```csharp
// Server application (C#)
// Server application
using IceRpc;
using IceRpc.Extensions.DependencyInjection;
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc.Transports.Coloc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This transport does not use network APIs. It is available on all platforms.
## Sample code

```csharp
// Create an IceRPC server with Coloc (C#)
// Create an IceRPC server with Coloc
using IceRpc;
using IceRpc.Transports.Coloc;
Expand All @@ -26,7 +26,7 @@ await using var server = new Server(

server.Listen();

// Create a client connection to this server (C#)
// Create a client connection to this server
await using var connection = new ClientConnection(
new Uri("icerpc://host"), // you can use any host and port with coloc
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc.Transports.Quic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ QUIC is a new UDP-based multiplexed transport used by HTTP/3 and several other a
## Sample code

```csharp
// Create an IceRPC client connection with QUIC (C#)
// Create an IceRPC client connection with QUIC
using IceRpc;
using IceRpc.Transports.Quic;
Expand All @@ -23,7 +23,7 @@ await using var connection = new ClientConnection(
```

```csharp
// Create an IceRPC server with QUIC (C#)
// Create an IceRPC server with QUIC
using IceRpc;
using IceRpc.Transports.Quic;
Expand Down
4 changes: 2 additions & 2 deletions src/IceRpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and package represent the base assembly and package for the [C# implementation o
## Sample Code

```csharp
// Client application (C#)
// Client application
using GreeterCore; // for the StringCodec helper class
using IceRpc;
Expand Down Expand Up @@ -48,7 +48,7 @@ async Task<string> GreetAsync(string name)
```

```csharp
// Server application (C#)
// Server application
using GreeterCore; // for the StringCodec helper class
using IceRpc;
Expand Down

0 comments on commit 2848402

Please sign in to comment.