public PutClientConfigurationCommand(DocumentConventions conventions, JsonOperationContext context, ClientConfiguration configuration) { if (conventions == null) { throw new ArgumentNullException(nameof(conventions)); } if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } _configuration = EntityToBlittable.ConvertEntityToBlittable(configuration, conventions, context); }
public PutClientConfigurationOperation(ClientConfiguration configuration) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }