CompilerBase.

GetResourceLinkage(string, CultureInfo) Method

Summary

Finds the correct namespace/classname for a resource file from the given dependent source file.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CompilerBase

Syntax

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

Remarks

This behavior may be overridden by each particular compiler to support the namespace/classname syntax for that language.

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.