ILoadDirectiveProvider.

CanLoad(IScriptAnalyzerContext, LoadReference) Method

Summary

Indicates whether or not this provider can load the specified LoadReference.

Syntax

bool CanLoad(IScriptAnalyzerContext context, LoadReference reference)

Parameters

Name Type Description
context IScriptAnalyzerContext The context.
reference LoadReference The reference to the code to load.

Return Value

Type Description
bool true if the provider can load the reference; otherwise false.