Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConfigurableResourceLoader.HasProtocol Method

Checks that the supplied resourceName starts with one of the protocol names currently mapped by this ConfigurableResourceLoader instance.

[Visual Basic]
Public Shared Sub HasProtocol( _
   ByVal resourceName As String _
)
[C#]
public static bool HasProtocol(
   string resourceName
);

Parameters

resourceName
The name of the resource.

Return Value

true if the supplied resourceName starts with one of the known protocols; false if not, or if the supplied resourceName is itself a null reference (Nothing in Visual Basic).

See Also

ConfigurableResourceLoader Class | Spring.Core.IO Namespace