public static IsMultiRequest ( this req ) : bool | ||
req | this | |
return | bool |
public static bool IsMultiRequest(this IRequest req)
{
//Only way to send T[] is via /reply/operation[] predefined route
return req.Dto != null && req.Dto.GetType().IsArray;
}