Beispiel #1
0
 public void op(ZeroC.Ice.Current current, CancellationToken cancel)
 {
 }
Beispiel #2
0
 public void shutdown(ZeroC.Ice.Current current) => current.Adapter.Communicator.Shutdown();
Beispiel #3
0
 public ValueTask <int> catchAsync(int @checked, ZeroC.Ice.Current current, CancellationToken cancel) =>
Beispiel #4
0
 public void @default(ZeroC.Ice.Current current, CancellationToken cancel) => Assert(current.Operation == "default");
Beispiel #5
0
 public IReadOnlyDictionary <string, string> getChanges(ZeroC.Ice.Current current) =>
Beispiel #6
0
 public void @default(ZeroC.Ice.Current current, CancellationToken cancel)
 {
 }
Beispiel #7
0
 public void @default(ZeroC.Ice.Current current) => Assert(current.Operation == "default");
Beispiel #8
0
 public void op(ZeroC.Ice.Current c)
 {
 }
Beispiel #9
0
 catchAsync(int @checked, ZeroC.Ice.Current current) => new ValueTask <int>(0);
Beispiel #10
0
 public void @default(ZeroC.Ice.Current current)
 {
 }
Beispiel #11
0
 catchAsync(int @checked, ZeroC.Ice.Current current)
 {
     return(new ValueTask <int>(0));
 }
Beispiel #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,
Beispiel #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);