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