public PutServerWideExternalReplicationCommand(JsonOperationContext context, ServerWideExternalReplication configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } _configuration = DocumentConventions.Default.Serialization.DefaultConverter.ToBlittable(configuration, context); }
public PutServerWideExternalReplicationOperation(ServerWideExternalReplication configuration) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }