NAnt SDK Documentation - v0.92 |
|
CompilerBase.GetResourceCulture Method
Determines the culture associated with a given resource file by scanning the filename for valid culture names.
[Visual Basic]
Public Shared Function GetResourceCulture( _
ByVal
resourceFile As
String, _
ByVal
dependentFile As
String _
) As
CultureInfo
Parameters
-
resourceFile
- The resource file path to check for culture info.
-
dependentFile
- The file on which the resource file depends.
Return Value
A valid CultureInfo instance if the resource is associated with a specific culture; otherwise, a null reference
(Nothing in Visual Basic).
See Also
CompilerBase Class | NAnt.DotNet.Tasks Namespace