VisitMessageSourceResolvableString() public method

Outputs the supplied Spring.Context.IMessageSourceResolvable as a nicely formatted System.String.
public VisitMessageSourceResolvableString ( IMessageSourceResolvable resolvable ) : string
resolvable IMessageSourceResolvable /// The to output. ///
return string
		/// <summary>
		/// Calls the visit method on the supplied <paramref name="visitor"/>
		/// to output a <see cref="System.String"/> version of this class.
		/// </summary>
		/// <param name="visitor">The visitor to use.</param>
		/// <returns>
		/// A <see cref="System.String"/> representation of this
		/// <see cref="Spring.Context.IMessageSourceResolvable"/>.
		/// </returns>
		public string Accept(MessageSourceResolvableVisitor visitor)
		{
			return visitor.VisitMessageSourceResolvableString(this);
		}
Ejemplo n.º 2
0
 /// <summary>
 /// Calls the visit method on the supplied <paramref name="visitor"/>
 /// to output a <see cref="System.String"/> version of this class.
 /// </summary>
 /// <param name="visitor">The visitor to use.</param>
 /// <returns>
 /// A <see cref="System.String"/> representation of this
 /// <see cref="Spring.Context.IMessageSourceResolvable"/>.
 /// </returns>
 public string Accept(MessageSourceResolvableVisitor visitor)
 {
     return(visitor.VisitMessageSourceResolvableString(this));
 }