예제 #1
0
 public OvJobTicketService(
     [NotNull] JobTicket_SSPSoap ticketSvc,
     [NotNull] IArtFactoryConfig config,
     [NotNull] XmpieDocument document)
 {
     TicketSvc = ticketSvc ?? throw new ArgumentNullException(nameof(ticketSvc));
     Config    = config ?? throw new ArgumentNullException(nameof(config));
     Document  = document ?? throw new ArgumentNullException(nameof(document));
 }
 public OvArtFactoryService(
     IArtFactoryConfig config,
     Job_SSPSoap jobSvc,
     JobTicket_SSPSoap ticketSvc,
     Production_SSPSoap productionSvc,
     [NotNull] IDocumentService documentSvc,
     [NotNull] IDialService dialSvc)
 {
     Config        = config;
     JobSvc        = jobSvc ?? throw new ArgumentNullException(nameof(jobSvc));
     TicketSvc     = ticketSvc ?? throw new ArgumentNullException(nameof(ticketSvc));
     ProductionSvc = productionSvc ?? throw new ArgumentNullException(nameof(productionSvc));
     DocumentSvc   = documentSvc ?? throw new ArgumentNullException(nameof(documentSvc));
     DialSvc       = dialSvc ?? throw new ArgumentNullException(nameof(dialSvc));
 }
 public JobTicketServiceFactory(JobTicket_SSPSoap ticketSvc, IArtFactoryConfig config)
 {
     TicketSvc = ticketSvc;
     Config    = config;
 }
예제 #4
0
 public XmpieJobTicket([NotNull] JobTicket_SSPSoap client, [NotNull] IArtFactoryConfig config)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
     Config = config ?? throw new ArgumentNullException(nameof(config));
 }