Example #1
0
        /// <summary>
        /// Called when the message is about to be transmitted,
        /// before it passes through the channel binding elements.
        /// </summary>
        void IMessageWithEvents.OnSending()
        {
            var fields = ((IMessage)this).ExtraData;

            fields.Clear();

            AXUtilities.SerializeAttributes(fields, this.attributesProvided);
        }
Example #2
0
        /// <summary>
        /// Called when the message is about to be transmitted,
        /// before it passes through the channel binding elements.
        /// </summary>
        void IMessageWithEvents.OnSending()
        {
            var extraData = ((IMessage)this).ExtraData;

            AXUtilities.SerializeAttributes(extraData, this.attributesProvided);
        }