Пример #1
0
 /// <summary>
 /// Initializes new instance of <see cref="ShippingClient"/>.
 /// </summary>
 /// <param name="settings">Settings for <see cref="ShippingClient"/>.</param>
 public ShippingClient(ShippingSettings settings)
 {
     Settings = settings ?? throw new ArgumentNullException(nameof(settings));
 }
Пример #2
0
 protected QueryHandler(ShippingSettings settings, string methodName)
 {
     Settings   = settings ?? throw new ArgumentNullException(nameof(settings));
     MethodName = methodName ?? throw new ArgumentNullException(nameof(methodName));
 }