C# Class DDDLanguage.DDDLanguagePackage

Inheritance: Package, IVsPersistSolutionProps
Datei anzeigen Open project: ngs-doo/dsl-compiler-client

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

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
return System

Initialize() protected method

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
return void

LoadUserOptions() public method

public LoadUserOptions ( IVsSolutionPersistence pPersistence, uint grfLoadOpts ) : int
pPersistence IVsSolutionPersistence
grfLoadOpts uint
return int

MenuItemCompile_BeforeQueryStatus() public method

public MenuItemCompile_BeforeQueryStatus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnProjectLoadFailure() public method

public OnProjectLoadFailure ( IVsHierarchy pStubHierarchy, string pszProjectName, string pszProjectMk, string pszKey ) : int
pStubHierarchy IVsHierarchy
pszProjectName string
pszProjectMk string
pszKey string
return int

QuerySaveSolutionProps() public method

public QuerySaveSolutionProps ( IVsHierarchy pHierarchy, VSQUERYSAVESLNPROPS pqsspSave ) : int
pHierarchy IVsHierarchy
pqsspSave VSQUERYSAVESLNPROPS
return int

ReadSolutionProps() public method

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
return int

ReadUserOptions() public method

public ReadUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
return int

SaveSolutionProps() public method

public SaveSolutionProps ( IVsHierarchy pHierarchy, IVsSolutionPersistence pPersistence ) : int
pHierarchy IVsHierarchy
pPersistence IVsSolutionPersistence
return int

SaveUserOptions() public method

public SaveUserOptions ( IVsSolutionPersistence pPersistence ) : int
pPersistence IVsSolutionPersistence
return int

WriteSolutionProps() public method

public WriteSolutionProps ( IVsHierarchy pHierarchy, string pszKey, IPropertyBag pPropBag ) : int
pHierarchy IVsHierarchy
pszKey string
pPropBag IPropertyBag
return int

WriteUserOptions() public method

public WriteUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
return int