Beispiel #1
0
        public ClonerContext(ClonerConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            this.Configuration = configuration;
        }
Beispiel #2
0
 public Cloner(ClonerConfiguration configuration = null)
 {
     this.Configuration =
         configuration ??
         _defaultConfiguration.Value;
 }