Esempio n. 1
0
 public ReceiveLocation(BizTalkReceiveLocation location)
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     BizTalkReceiveLocation = location;
 }
        internal static ReceiveLocation TransforModel(Microsoft.BizTalk.ExplorerOM.ReceiveLocation omReceiveLocation)
        {
            var receiveLocation = new ReceiveLocation();

            receiveLocation.Name              = omReceiveLocation.Name;
            receiveLocation.Address           = omReceiveLocation.Address;
            receiveLocation.TransportProtocol = omReceiveLocation.TransportType.Name;


            return(receiveLocation);
        }
Esempio n. 3
0
 public ReceiveLocation(BizTalkReceiveLocation location)
 {
     BizTalkReceiveLocation = location ?? throw new ArgumentNullException(nameof(location));
 }