C# Class Spring.Context.Support.MessageSourceResolvableVisitor

Visitor class to represent Spring.Context.IMessageSourceResolvable instances.

Used in the first instance to supply stringified versions of Spring.Context.IMessageSourceResolvable instances.

Other methods can be added here to return different representations, including XML, CSV, etc..

Show file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
MessageSourceResolvableVisitor ( ) : System.Text

Creates a new instance of the Spring.Context.Support.MessageSourceResolvableVisitor class.

VisitMessageSourceResolvableString ( IMessageSourceResolvable resolvable ) : string

Outputs the supplied Spring.Context.IMessageSourceResolvable as a nicely formatted System.String.

Method Details

MessageSourceResolvableVisitor() public method

Creates a new instance of the Spring.Context.Support.MessageSourceResolvableVisitor class.
public MessageSourceResolvableVisitor ( ) : System.Text
return System.Text

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