ResourceSetMessageSource Members
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResourceSetMessageSource Members

ResourceSetMessageSource overview

Public Instance Constructors

ResourceSetMessageSource Constructor Creates a new instance of the ResourceSetMessageSource class.

Public Instance Properties

ParentMessageSource (inherited from AbstractMessageSource) The parent message source used to try and resolve messages that this object can't resolve.
ResourceManagers The collection of ResourceManagers in this ResourceSetMessageSource.
UseCodeAsDefaultMessage (inherited from AbstractMessageSource)Gets or Sets a value indicating whether to use the message code as default message instead of throwing a NoSuchMessageException. Useful for development and debugging. Default is "false".

Public Instance Methods

AfterPropertiesSet Invoked by an IObjectFactory after it has set all object properties supplied.
ApplyResources (inherited from AbstractMessageSource) Applies resources to object properties.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetMessage (inherited from AbstractMessageSource)Overloaded. Resolve the message identified by the supplied name.
GetResourceObject (inherited from AbstractMessageSource)Overloaded. Gets a localized resource object identified by the supplied name.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Returns a String representation of the ResourceSetMessageSource.

Protected Instance Fields

log (inherited from AbstractMessageSource) holds the logger instance shared with subclasses.

Protected Instance Methods

ApplyResourcesInternal (inherited from AbstractMessageSource) Applies resources from the given name on the specified object.
ApplyResourcesToObject Uses a System.ComponentModel.ComponentResourceManager to apply resources to object properties. Resource key names are of the form objectName.propertyName
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatMessage (inherited from AbstractMessageSource) Format the given default message String resolving any agrument placeholders found in them.
GetDefaultMessage (inherited from AbstractMessageSource) Return a fallback default message for the given code, if any.
GetMessageFromParent (inherited from AbstractMessageSource) Try to retrieve the given message from the parent MessageSource, if any.
GetMessageInternal (inherited from AbstractMessageSource)Resolve the given code and arguments as message in the given culture, returning null if not found. Does not fall back to the code as default message. Invoked by GetMessage methods.
GetResourceInternal (inherited from AbstractMessageSource) Gets the specified resource (e.g. Icon or Bitmap).
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
RenderDefaultMessage (inherited from AbstractMessageSource) Renders the default message string. The default message is passed in as specified by the caller and can be rendered into a fully formatted default message shown to the user.
ResolveArguments (inherited from AbstractMessageSource) Search through the given array of objects, find any MessageSourceResolvable objects and resolve them.
ResolveMessage Resolves a given code by searching through each assembly name in the base names array.
ResolveObjectOverloaded. Resolves a given code by searching through each assembly name in the array.

See Also

ResourceSetMessageSource Class | Spring.Context.Support Namespace