BaseCodeGenerator Class
A managed wrapper for VS's concept of an IVsSingleFileGenerator which is a custom tool invoked during the build which can take any file as an input and provide a compilable code file as output.
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGenerator
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGeneratorWithSite
Name | Description | |
---|---|---|
![]() | BaseCodeGenerator() | Initializes a new instance of the BaseCodeGenerator class. |
Name | Description | |
---|---|---|
![]() | DefaultExtensionString | gets the default extension for this generator |
Name | Description | |
---|---|---|
![]() | DefaultExtension(String) | Implements the IVsSingleFileGenerator.DefaultExtension method. Returns the extension of the generated file |
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Dispose(Boolean) | Releases unmanaged and - optionally - managed resources. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | Finalizes an instance of the BaseCodeGenerator class.(Overrides Object.Finalize().) |
![]() | Generate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress) | main method that the VS shell calls to do the generation |
![]() | GenerateCode(String, String, String) | the method that does the actual work of generating code given the input file. |
![]() | GeneratorErrorCallback(Boolean, Int32, String, Int32, Int32) | method that will communicate an error via the shell callback mechanism. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.