Exemple #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));
            }
Exemple #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));
Exemple #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);
Exemple #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);