Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NullMessageSource Members

NullMessageSource overview

Public Static (Shared) Fields

Null The canonical instance of the NullMessageSource class.

Public Instance Constructors

NullMessageSource Constructor Creates a new instance of the NullMessageSource class.

Public Instance Properties

ParentMessageSource (inherited from AbstractMessageSource) The parent message source used to try and resolve messages that this object can't resolve.
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

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 (inherited from Object)Returns a String that represents the current Object.

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 Does nothing.
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 Simply returns the supplied message code as-is.
ResolveObject Always returns .

See Also

NullMessageSource Class | Spring.Context.Support Namespace