/// <summary> /// Initializes a new instance of the AS2OneWayAgreement class. /// </summary> /// <param name="senderBusinessIdentity">The sender business /// identity</param> /// <param name="receiverBusinessIdentity">The receiver business /// identity</param> /// <param name="protocolSettings">The AS2 protocol settings.</param> public AS2OneWayAgreement(BusinessIdentity senderBusinessIdentity, BusinessIdentity receiverBusinessIdentity, AS2ProtocolSettings protocolSettings) { SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; CustomInit(); }
/// <summary> /// Initializes a new instance of the AS2OneWayAgreement class. /// </summary> public AS2OneWayAgreement(BusinessIdentity senderBusinessIdentity = default(BusinessIdentity), BusinessIdentity receiverBusinessIdentity = default(BusinessIdentity), AS2ProtocolSettings protocolSettings = default(AS2ProtocolSettings)) { SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; }