public ClonerContext(ClonerConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } this.Configuration = configuration; }
public Cloner(ClonerConfiguration configuration = null) { this.Configuration = configuration ?? _defaultConfiguration.Value; }