TemplatedModelGenerator.HasTemplates(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether the templates required for this generator are present.
public abstract bool HasTemplates(string projectDir);
abstract member HasTemplates : string -> bool
Public MustOverride Function HasTemplates (projectDir As String) As Boolean
Parameters
- projectDir
- String
The root project directory.
Returns
true if the templates are present; otherwise, false.