NAnt SDK Documentation - v0.92

VbcTask.GetResourceLinkage Method 

Finds the correct namespace/classname for a resource file from the given dependent source file, and ensure the RootNamespace is prefixed.

[Visual Basic]
Overrides Protected Function GetResourceLinkage( _
   ByVal dependentFile As String, _
   ByVal resourceCulture As CultureInfo _
) As ResourceLinkage
[C#]
protected override ResourceLinkage GetResourceLinkage(
   string dependentFile,
   CultureInfo resourceCulture
);

Parameters

dependentFile
The file from which the resource linkage of the resource file should be determined.
resourceCulture
The culture of the resource file for which the resource linkage should be determined.

Return Value

The namespace/classname of the source file matching the resource or a null reference (Nothing in Visual Basic) if the dependent source file does not exist.

See Also

VbcTask Class | NAnt.DotNet.Tasks Namespace