Ejemplo n.º 1
0
 /// <summary>
 /// Implemented by derived classes to copy message properties to another
 /// message instance during a <see cref="Clone()"/> operation.
 /// </summary>
 /// <param name="target">The target message.</param>
 /// <remarks>
 /// <note>
 /// The method implementation can safely assume that the <paramref name="target"/>
 /// message can be cast into the implementation's message type.
 /// </note>
 /// </remarks>
 protected virtual void CopyTo(ProxyMessage target)
 {
 }
Ejemplo n.º 2
0
 /// <inheritdoc/>
 protected override void CopyTo(ProxyMessage target)
 {
     base.CopyTo(target);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Implemented by derived classes to copy message properties to another
 /// message instance during a <see cref="Clone()"/> operation.
 /// </summary>
 /// <param name="target">The target message.</param>
 /// <remarks>
 /// <note>
 /// The method implementation can safely assume that the <paramref name="target"/>
 /// message can be cast into the implementation's message type.
 /// </note>
 /// </remarks>
 protected virtual void CopyTo(ProxyMessage target)
 {
     target.ClientId = this.ClientId;
 }