Summary
Indicates whether or not this provider can load the specified
LoadReference
.
- Namespace
- Cake
.Core .Scripting .Processors .Loading - Containing Type
- I
Load Directive Provider
Syntax
bool CanLoad(IScriptAnalyzerContext context, LoadReference reference)
Parameters
Name | Type | Description |
---|---|---|
context | I |
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 . |