예제 #1
0
 private void Setup(ObjectDefinitionsSection definitions)
 {
     if (definitions == null)
     {
         throw new ArgumentNullException(nameof(definitions));
     }
     _definitions = definitions;
 }
예제 #2
0
 public ObjectFactory(ObjectDefinitionsSection definitions)
 {
     Setup(definitions);
 }