Ejemplo n.º 1
0
 public ControllerFactory(ControllerAssembly controllerAssembly, IItemFactory itemFactory)
 {
     _controllerAssembly = controllerAssembly ?? throw new ArgumentNullException(nameof(controllerAssembly));
     _itemFactory        = itemFactory ?? throw new ArgumentNullException(nameof(itemFactory));
 }
Ejemplo n.º 2
0
 public ControllerReader(ControllerAssembly controllerAssembly, IControllerFactory controllerFactory, ControllerSerializerResolver controllerSerializerResolver)
 {
     _controllerAssembly           = controllerAssembly ?? throw new ArgumentNullException(nameof(controllerAssembly));
     _controllerFactory            = controllerFactory ?? throw new ArgumentNullException(nameof(controllerFactory));
     _controllerSerializerResolver = controllerSerializerResolver ?? throw new ArgumentNullException(nameof(controllerSerializerResolver));
 }
Ejemplo n.º 3
0
 public ControllerFactory(ControllerAssembly controllerAssembly)
     : this(controllerAssembly, new ItemFactory())
 {
 }