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.

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

System.Object
  Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGenerator
    Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGeneratorWithSite

[ComVisibleAttribute(true)]
public abstract class BaseCodeGenerator : IVsSingleFileGenerator, 
	IDisposable

NameDescription
System_CAPS_protmethodBaseCodeGenerator()

Initializes a new instance of the BaseCodeGenerator class.

NameDescription
System_CAPS_protpropertyDefaultExtensionString

gets the default extension for this generator

NameDescription
System_CAPS_pubmethodDefaultExtension(String)

Implements the IVsSingleFileGenerator.DefaultExtension method. Returns the extension of the generated file

System_CAPS_pubmethodDispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

System_CAPS_protmethodDispose(Boolean)

Releases unmanaged and - optionally - managed resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Finalizes an instance of the BaseCodeGenerator class.(Overrides Object.Finalize().)

System_CAPS_pubmethodGenerate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress)

main method that the VS shell calls to do the generation

System_CAPS_protmethodGenerateCode(String, String, String)

the method that does the actual work of generating code given the input file.

System_CAPS_protmethodGeneratorErrorCallback(Boolean, Int32, String, Int32, Int32)

method that will communicate an error via the shell callback mechanism.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.