메소드 | 설명 | |
---|---|---|
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
|
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 |
public GetDefaultGenerator ( string filename, string &progID ) : int | ||
filename | string | File name with extension |
progID | string | The generator prog ID |
리턴 | int |
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 |
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 |