VbcTask.

GetResourceLinkage(string, CultureInfo) Method

Summary

Finds the correct namespace/classname for a resource file from the given dependent source file, and ensure the NAnt.DotNet.Tasks.VbcTask.RootNamespace is prefixed.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
VbcTask

Syntax

protected override CompilerBase.ResourceLinkage GetResourceLinkage(string dependentFile, CultureInfo resourceCulture)

Parameters

Name Type Description
dependentFile string The file from which the resource linkage of the resource file should be determined.
resourceCulture CultureInfo The culture of the resource file for which the resource linkage should be determined.

Return Value

Type Description
CompilerBase.ResourceLinkage The namespace/classname of the source file matching the resource or null if the dependent source file does not exist.