/// <summary>Creates an <see cref="OutgoingRequestFrame"/> factory for the given operation.</summary> /// <param name="operationName">The operation name.</param> /// <param name="idempotent"><c>True</c> if the requests are idempotent, <c>False</c> otherwise.</param> /// <param name="compress"><c>True</c> if the request's parameters are compressed during frame creation with /// ice2, or if entire request frame is compressed during sending with ice1; otherwise, <c>False</c>.</param> /// <param name="format">The format for class instances.</param> /// <param name="writer">The <see cref="OutputStream"/> writer used to write the request parameters.</param> public static Factory <T> CreateFactory <T>( string operationName, bool idempotent, bool compress, FormatType format, OutputStreamValueWriter <T> writer) where T : struct => (IObjectPrx prx, in T paramList, IReadOnlyDictionary <string, string>?context) =>
public OutgoingRequestWithStructParam(string operationName, bool idempotent, FormatType?format, OutputStreamValueWriter <TParamList> writer, InputStreamReader <TReturnValue> reader) : base(reader) { _operationName = operationName; _idempotent = idempotent; _format = format; _writer = writer; }