CodeGenerationContext Class
Contains the context for one complete code generation operation.
Assembly: Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)
The CodeGenerationContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CodeGenerationContext | For internal use only. Code generator implementors should not call this. |
| Name | Description | |
|---|---|---|
![]() | ActiveProject | Current project in which code generator is generating the code. |
![]() | ActiveProjectItem | Current project item selected by the user. This can be null in cases where code generation is invoked from project root node. |
![]() | Items | Gets a key/value collection that can be used to organize and share data during a code generation operation. |
![]() | Packages | A list of NuGet packages that should be installed after code generation completes successfully. |
![]() | ServiceProvider | Service provider for getting all code generation services and global Visual Studio services. |
Show:
