コード例 #1
0
 internal PortBindingInfo(OrchestrationBindingBase <T> orchestrationBinding, PortInfo logicalPort)
 {
     if (orchestrationBinding == null)
     {
         throw new ArgumentNullException("orchestrationBinding");
     }
     if (logicalPort == null)
     {
         throw new ArgumentNullException("logicalPort");
     }
     _orchestrationBinding = orchestrationBinding;
     _logicalPort          = logicalPort;
 }
 internal PortBindingInfo(OrchestrationBindingBase <T> orchestrationBinding, PortInfo logicalPort)
 {
     _orchestrationBinding = orchestrationBinding ?? throw new ArgumentNullException(nameof(orchestrationBinding));
     _logicalPort          = logicalPort ?? throw new ArgumentNullException(nameof(logicalPort));
 }