C# Class Microsoft.VisualStudio.Project.SingleFileGeneratorFactory

Provides implementation IVsSingleFileGeneratorFactory for
Inheritance: IVsSingleFileGeneratorFactory
Datei anzeigen Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Public Methods

Method Description
CreateGeneratorInstance ( string progId, int &generatesDesignTimeSource, int &generatesSharedDesignTimeSource, int &useTempPEFlag, IVsSingleFileGenerator &generate ) : int

Creates an instance of the single file generator requested

GetDefaultGenerator ( string filename, string &progID ) : int

Gets the default generator based on the file extension. HKLM\Software\Microsoft\VS\9.0\Generators\[prjfacguid]\.extension

GetGeneratorInformation ( string progId, int &generatesDesignTimeSource, int &generatesSharedDesignTimeSource, int &useTempPEFlag, System.Guid &guidGenerator ) : int

Gets the generator information.

SingleFileGeneratorFactory ( System.Guid projectType, System serviceProvider ) : System

Constructor for SingleFileGeneratorFactory

Method Details

CreateGeneratorInstance() public method

Creates an instance of the single file generator requested
public CreateGeneratorInstance ( string progId, int &generatesDesignTimeSource, int &generatesSharedDesignTimeSource, int &useTempPEFlag, IVsSingleFileGenerator &generate ) : int
progId string prog id of the generator to be created. For e.g HKLM\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Generators\[prjfacguid]\[wszProgId]
generatesDesignTimeSource int GeneratesDesignTimeSource key value
generatesSharedDesignTimeSource int GeneratesSharedDesignTimeSource key value
useTempPEFlag int UseDesignTimeCompilationFlag key value
generate IVsSingleFileGenerator IVsSingleFileGenerator interface
return int

GetDefaultGenerator() public method

Gets the default generator based on the file extension. HKLM\Software\Microsoft\VS\9.0\Generators\[prjfacguid]\.extension
public GetDefaultGenerator ( string filename, string &progID ) : int
filename string File name with extension
progID string The generator prog ID
return int

GetGeneratorInformation() public method

Gets the generator information.
public GetGeneratorInformation ( string progId, int &generatesDesignTimeSource, int &generatesSharedDesignTimeSource, int &useTempPEFlag, System.Guid &guidGenerator ) : int
progId string prog id of the generator to be created. For e.g HKLM\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Generators\[prjfacguid]\[wszProgId]
generatesDesignTimeSource int GeneratesDesignTimeSource key value
generatesSharedDesignTimeSource int GeneratesSharedDesignTimeSource key value
useTempPEFlag int UseDesignTimeCompilationFlag key value
guidGenerator System.Guid CLSID key value
return int

SingleFileGeneratorFactory() public method

Constructor for SingleFileGeneratorFactory
public SingleFileGeneratorFactory ( System.Guid projectType, System serviceProvider ) : System
projectType System.Guid The project type guid of the associated project.
serviceProvider System A service provider.
return System