private void Setup(ObjectDefinitionsSection definitions)
 {
     if (definitions == null)
     {
         throw new ArgumentNullException(nameof(definitions));
     }
     _definitions = definitions;
 }
 public ObjectFactory(ObjectDefinitionsSection definitions)
 {
     Setup(definitions);
 }