Exemplo n.º 1
0
 public void op(ZeroC.Ice.Current current, CancellationToken cancel)
 {
 }
Exemplo n.º 2
0
 public void shutdown(ZeroC.Ice.Current current) => current.Adapter.Communicator.Shutdown();
Exemplo n.º 3
0
 public ValueTask <int> catchAsync(int @checked, ZeroC.Ice.Current current, CancellationToken cancel) =>
Exemplo n.º 4
0
 public void @default(ZeroC.Ice.Current current, CancellationToken cancel) => Assert(current.Operation == "default");
Exemplo n.º 5
0
 public IReadOnlyDictionary <string, string> getChanges(ZeroC.Ice.Current current) =>
Exemplo n.º 6
0
 public void @default(ZeroC.Ice.Current current, CancellationToken cancel)
 {
 }
Exemplo n.º 7
0
 public void @default(ZeroC.Ice.Current current) => Assert(current.Operation == "default");
Exemplo n.º 8
0
 public void op(ZeroC.Ice.Current c)
 {
 }
Exemplo n.º 9
0
 catchAsync(int @checked, ZeroC.Ice.Current current) => new ValueTask <int>(0);
Exemplo n.º 10
0
 public void @default(ZeroC.Ice.Current current)
 {
 }
Exemplo n.º 11
0
 catchAsync(int @checked, ZeroC.Ice.Current current)
 {
     return(new ValueTask <int>(0));
 }
Exemplo n.º 12
0
 /// <summary>Creates a new outgoing response frame with an OK reply status and a return value.</summary>
 /// <param name="current">The Current object for the corresponding incoming request.</param>
 /// <param name="format">The format type used to marshal classes and exceptions, when this parameter is null
 /// the communicator's default format is used.</param>
 /// <param name="value">The return value to marshal, when the response frame contains multiple return
 /// values they must be passed in a tuple.</param>
 /// <param name="writer">A delegate that must write the value to the frame.</param>
 /// <returns>A new OutgoingResponseFrame.</returns>
 public static OutgoingResponseFrame WithReturnValue <T>(Current current,
                                                         FormatType?format,
                                                         in T value,
Exemplo n.º 13
0
 /// <summary>Creates a new outgoing response frame with an OK reply status and a void return value.</summary>
 /// <param name="current">The Current object for the corresponding incoming request.</param>
 /// <returns>A new OutgoingResponseFrame.</returns>
 public static OutgoingResponseFrame WithVoidReturnValue(Current current)
 => new OutgoingResponseFrame(current.Protocol, current.Encoding, writeVoidReturnValue: true);