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

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