Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringResource Members

StringResource overview

Public Instance Constructors

StringResource Overloaded. Initializes a new instance of the StringResource class.

Public Instance Properties

BasePathPlaceHolder (inherited from AbstractResource) The special character that denotes the base (home, or root) path.
Content Gets the content encapsulated by this StringResource.
Description Returns a description for this resource.
Encoding Gets the encoding used to create a byte stream of the Content string.
Exists This implemementation always returns true
File (inherited from AbstractResource) Returns a FileInfo handle for this resource.
InputStream Get the Stream to for accessing this resource.
IsOpen This implementation always returns true
Protocol (inherited from AbstractResource) Returns the protocol associated with this resource (if any).
Uri (inherited from AbstractResource) Returns the Uri handle for this resource.

Public Instance Methods

CreateRelative (inherited from AbstractResource) Creates a new resource that is relative to this resource based on the supplied resourceName.
Equals (inherited from AbstractResource) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from AbstractResource) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from AbstractResource) This implementation returns the Description of this resource.

Protected Instance Properties

PathSeparatorChars (inherited from AbstractResource) Gets those characters that are valid path separators for the resource type.
ResourcePath (inherited from AbstractResource) Gets the current path of the resource.
RootLocation (inherited from AbstractResource) Gets the root location of the resource.
SupportsRelativeResources (inherited from AbstractResource) Does this IResource support relative resource retrieval?

Protected Instance Methods

CreateResourceInstance (inherited from AbstractResource) Factory Method. Create a new instance of the current resource type using the given resourceName
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.
GetResourceLoader (inherited from AbstractResource) The ResourceLoader to be used for resolving relative resources
IsRelativeResource (inherited from AbstractResource) Does the supplied resourceName relative ?
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ResolveBasePathPlaceHolder (inherited from AbstractResource) Resolves the presence of the basePathPlaceHolder value in the supplied resourceName into a path.
ResolveResourceNameWithoutProtocol (inherited from AbstractResource) Resolves the supplied resourceName to its value sans any leading protocol.

See Also

StringResource Class | Spring.Core.IO Namespace