Ejemplo n.º 1
0
            static async Task <TReturnValue> ReadReturnValueAsync(
                ValueTask <IncomingResponseFrame> task,
                Communicator communicator,
                InputStreamReader <TReturnValue> reader)
            {
                IncomingResponseFrame response = await task.ConfigureAwait(false);

                return(response.ReadReturnValue(communicator, reader));
            }
Ejemplo n.º 2
0
 /// <summary>The <see cref="ResponseReader{T}"/> reader for the return type of operation ice_ids.
 /// </summary>
 public static string[] IceIds(IObjectPrx proxy, IncomingResponseFrame response) =>
 response.ReadReturnValue(
     proxy, istr => istr.ReadArray(minElementSize: 1, InputStream.IceReaderIntoString));
Ejemplo n.º 3
0
 /// <summary>The <see cref="ResponseReader{T}"/> reader for the return type of operation ice_isA.
 /// </summary>
 public static bool IceIsA(IObjectPrx proxy, IncomingResponseFrame response) =>
 response.ReadReturnValue(proxy, InputStream.IceReaderIntoBool);
Ejemplo n.º 4
0
 /// <summary>The <see cref="ResponseReader{T}"/> reader for the return type of operation ice_id.
 /// </summary>
 public static string IceId(IObjectPrx proxy, IncomingResponseFrame response) =>
 response.ReadReturnValue(proxy, InputStream.IceReaderIntoString);