C# Class DDDLanguage.DDDLanguagePackage

Inheritance: Package, IVsPersistSolutionProps
Afficher le fichier Open project: ngs-doo/dsl-compiler-client

Méthodes publiques

Méthode Description
DDDLanguagePackage ( ) : System

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

LoadUserOptions ( IVsSolutionPersistence pPersistence, uint grfLoadOpts ) : int
MenuItemCompile_BeforeQueryStatus ( object sender, EventArgs e ) : void
OnProjectLoadFailure ( IVsHierarchy pStubHierarchy, string pszProjectName, string pszProjectMk, string pszKey ) : int
QuerySaveSolutionProps ( IVsHierarchy pHierarchy, VSQUERYSAVESLNPROPS pqsspSave ) : int
ReadSolutionProps ( IVsHierarchy pHierarchy, string pszProjectName, string pszProjectMk, string pszKey, int fPreLoad, IPropertyBag pPropBag ) : int
ReadUserOptions ( IStream pOptionsStream, string pszKey ) : int
SaveSolutionProps ( IVsHierarchy pHierarchy, IVsSolutionPersistence pPersistence ) : int
SaveUserOptions ( IVsSolutionPersistence pPersistence ) : int
WriteSolutionProps ( IVsHierarchy pHierarchy, string pszKey, IPropertyBag pPropBag ) : int
WriteUserOptions ( IStream pOptionsStream, string pszKey ) : int

Méthodes protégées

Méthode Description
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.

Private Methods

Méthode Description
CompileDsl ( object sender, EventArgs e ) : void
DslPlatformWindow ( ) : void
LoginDslPlatformWindow ( object sender, EventArgs e ) : void
ReadInfo ( DatabaseInfo info, IPropertyBag pBag ) : void
ReadInfo ( LibraryInfo info, IPropertyBag pBag ) : void
ShowDslPlatformWindow ( object sender, EventArgs e ) : void
TryReadBool ( string property, IPropertyBag pBag, bool defaultValue = false ) : bool
TryReadString ( string property, IPropertyBag pBag ) : string
WriteInfo ( DatabaseInfo info, IPropertyBag pBag ) : void
WriteInfo ( LibraryInfo info, IPropertyBag pBag ) : void

Method Details

DDDLanguagePackage() public méthode

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public DDDLanguagePackage ( ) : System
Résultat System

Initialize() protected méthode

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
Résultat void

LoadUserOptions() public méthode

public LoadUserOptions ( IVsSolutionPersistence pPersistence, uint grfLoadOpts ) : int
pPersistence IVsSolutionPersistence
grfLoadOpts uint
Résultat int

MenuItemCompile_BeforeQueryStatus() public méthode

public MenuItemCompile_BeforeQueryStatus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnProjectLoadFailure() public méthode

public OnProjectLoadFailure ( IVsHierarchy pStubHierarchy, string pszProjectName, string pszProjectMk, string pszKey ) : int
pStubHierarchy IVsHierarchy
pszProjectName string
pszProjectMk string
pszKey string
Résultat int

QuerySaveSolutionProps() public méthode

public QuerySaveSolutionProps ( IVsHierarchy pHierarchy, VSQUERYSAVESLNPROPS pqsspSave ) : int
pHierarchy IVsHierarchy
pqsspSave VSQUERYSAVESLNPROPS
Résultat int

ReadSolutionProps() public méthode

public ReadSolutionProps ( IVsHierarchy pHierarchy, string pszProjectName, string pszProjectMk, string pszKey, int fPreLoad, IPropertyBag pPropBag ) : int
pHierarchy IVsHierarchy
pszProjectName string
pszProjectMk string
pszKey string
fPreLoad int
pPropBag IPropertyBag
Résultat int

ReadUserOptions() public méthode

public ReadUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
Résultat int

SaveSolutionProps() public méthode

public SaveSolutionProps ( IVsHierarchy pHierarchy, IVsSolutionPersistence pPersistence ) : int
pHierarchy IVsHierarchy
pPersistence IVsSolutionPersistence
Résultat int

SaveUserOptions() public méthode

public SaveUserOptions ( IVsSolutionPersistence pPersistence ) : int
pPersistence IVsSolutionPersistence
Résultat int

WriteSolutionProps() public méthode

public WriteSolutionProps ( IVsHierarchy pHierarchy, string pszKey, IPropertyBag pPropBag ) : int
pHierarchy IVsHierarchy
pszKey string
pPropBag IPropertyBag
Résultat int

WriteUserOptions() public méthode

public WriteUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
Résultat int