C# 클래스 Microsoft.VisualStudio.Project.SingleFileGeneratorFactory

Provides implementation IVsSingleFileGeneratorFactory for
상속: IVsSingleFileGeneratorFactory
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CreateGeneratorInstance() 공개 메소드

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
리턴 int

GetDefaultGenerator() 공개 메소드

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
리턴 int

GetGeneratorInformation() 공개 메소드

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
리턴 int

SingleFileGeneratorFactory() 공개 메소드

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.
리턴 System