using System;
namespace RestEase
{
///
/// Encapsulates extra information provides to
///
///
/// This is broken out as a separate structure so that extra properties can be added without breaking backwards compatibility
///
public struct RequestQueryParamSerializerInfo
{
///
/// Gets information about the request
///
public IRequestInfo RequestInfo { get; }
///
/// Gets the format string specified using
///
public string? Format { get; }
///
/// Gets the format provider. If this is null, the default will be used.
/// Specified by the user on
///
public IFormatProvider? FormatProvider { get; }
///
/// Initialises a new instance of the structure
///
/// Information about the request
/// Format string specified using
/// Format provider to use
public RequestQueryParamSerializerInfo(IRequestInfo requestInfo, string? format, IFormatProvider? formatProvider)
{
this.RequestInfo = requestInfo;
this.Format = format;
this.FormatProvider = formatProvider;
}
}
}