BaseCodeGenerator Class
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.
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.
public ref class BaseCodeGenerator abstract : IDisposable, Microsoft::VisualStudio::Shell::Interop::IVsSingleFileGenerator
public abstract class BaseCodeGenerator : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsSingleFileGenerator
type BaseCodeGenerator = class
interface IVsSingleFileGenerator
interface IDisposable
Public MustInherit Class BaseCodeGenerator
Implements IDisposable, IVsSingleFileGenerator
- Inheritance
-
BaseCodeGenerator
- Derived
- Implements
Constructors
BaseCodeGenerator() |
Properties
FileNamespace |
namespace for the file. |
InputFilePath |
file-path for the input file. |
Methods
Dispose() | |
Dispose(Boolean) | |
Finalize() | |
Generate(String, String, String, IntPtr, Int32, IVsGeneratorProgress) | |
GenerateCode(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. |
GetDefaultExtension() |
gets the default extension for this generator |
Explicit Interface Implementations
IVsSingleFileGenerator.DefaultExtension(String) | |
IVsSingleFileGenerator.Generate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress) |