C# 클래스 DDDLanguage.DDDLanguagePackage

상속: Package, IVsPersistSolutionProps
파일 보기 프로젝트 열기: ngs-doo/dsl-compiler-client

공개 메소드들

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

보호된 메소드들

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

비공개 메소드들

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

메소드 상세

DDDLanguagePackage() 공개 메소드

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

Initialize() 보호된 메소드

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

LoadUserOptions() 공개 메소드

public LoadUserOptions ( IVsSolutionPersistence pPersistence, uint grfLoadOpts ) : int
pPersistence IVsSolutionPersistence
grfLoadOpts uint
리턴 int

MenuItemCompile_BeforeQueryStatus() 공개 메소드

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

OnProjectLoadFailure() 공개 메소드

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

QuerySaveSolutionProps() 공개 메소드

public QuerySaveSolutionProps ( IVsHierarchy pHierarchy, VSQUERYSAVESLNPROPS pqsspSave ) : int
pHierarchy IVsHierarchy
pqsspSave VSQUERYSAVESLNPROPS
리턴 int

ReadSolutionProps() 공개 메소드

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

ReadUserOptions() 공개 메소드

public ReadUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
리턴 int

SaveSolutionProps() 공개 메소드

public SaveSolutionProps ( IVsHierarchy pHierarchy, IVsSolutionPersistence pPersistence ) : int
pHierarchy IVsHierarchy
pPersistence IVsSolutionPersistence
리턴 int

SaveUserOptions() 공개 메소드

public SaveUserOptions ( IVsSolutionPersistence pPersistence ) : int
pPersistence IVsSolutionPersistence
리턴 int

WriteSolutionProps() 공개 메소드

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

WriteUserOptions() 공개 메소드

public WriteUserOptions ( IStream pOptionsStream, string pszKey ) : int
pOptionsStream IStream
pszKey string
리턴 int