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
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework