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