public Application(BizTalkApplication application, ApplicationCollection applicationCollection)
 {
     _applicationCollection = applicationCollection;
     BizTalkApplication     = application ?? throw new ArgumentNullException(nameof(application));
     Orchestrations         = new OrchestrationCollection(BizTalkApplication.Orchestrations);
     ReceivePorts           = new ReceivePortCollection(BizTalkApplication.ReceivePorts);
     SendPorts = new SendPortCollection(BizTalkApplication.SendPorts);
 }
Exemplo n.º 2
0
 public Application(BizTalkApplication application)
 {
     if (application == null)
     {
         throw new ArgumentNullException("application");
     }
     BizTalkApplication = application;
     Orchestrations     = new OrchestrationCollection(BizTalkApplication.Orchestrations);
     ReceivePorts       = new ReceivePortCollection(BizTalkApplication.ReceivePorts);
     SendPorts          = new SendPortCollection(BizTalkApplication.SendPorts);
 }