C# Class Castle.VisualStudio.NVelocityLanguageService.NVelocityPackage

Inheritance: Microsoft.VisualStudio.Shell.Package, IOleComponent, IVsInstalledProduct
显示文件 Open project: jonorossi/cvsi

Public Methods

Method Description
FContinueMessageLoop ( uint uReason, IntPtr pvLoopData, MSG pMsgPeeked ) : int
FDoIdle ( uint grfidlef ) : int
FPreTranslateMessage ( MSG pMsg ) : int
FQueryTerminate ( int fPromptUser ) : int
FReserved1 ( uint dwReserved, uint message, IntPtr wParam, IntPtr lParam ) : int
HwndGetWindow ( uint dwWhich, uint dwReserved ) : IntPtr
NVelocityPackage ( ) : 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.

OnActivationChange ( IOleComponent pic, int fSameComponent, OLECRINFO pcrinfo, int fHostIsActivating, OLECHOSTINFO pchostinfo, uint dwReserved ) : void
OnAppActivate ( int fActive, uint dwOtherThreadID ) : void
OnEnterState ( uint uStateID, int fEnter ) : void
OnLoseActivation ( ) : void
Terminate ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CreateService ( IServiceContainer container, Type serviceType ) : object
GetResourceString ( string resourceName ) : string
IVsInstalledProduct ( string &pbstrName ) : int
IVsInstalledProduct ( uint &pIdBmp ) : int
RegisterForIdleTime ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FContinueMessageLoop() public method

public FContinueMessageLoop ( uint uReason, IntPtr pvLoopData, MSG pMsgPeeked ) : int
uReason uint
pvLoopData System.IntPtr
pMsgPeeked MSG
return int

FDoIdle() public method

public FDoIdle ( uint grfidlef ) : int
grfidlef uint
return int

FPreTranslateMessage() public method

public FPreTranslateMessage ( MSG pMsg ) : int
pMsg MSG
return int

FQueryTerminate() public method

public FQueryTerminate ( int fPromptUser ) : int
fPromptUser int
return int

FReserved1() public method

public FReserved1 ( uint dwReserved, uint message, IntPtr wParam, IntPtr lParam ) : int
dwReserved uint
message uint
wParam System.IntPtr
lParam System.IntPtr
return int

HwndGetWindow() public method

public HwndGetWindow ( uint dwWhich, uint dwReserved ) : IntPtr
dwWhich uint
dwReserved uint
return System.IntPtr

NVelocityPackage() 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 NVelocityPackage ( ) : System
return System

OnActivationChange() public method

public OnActivationChange ( IOleComponent pic, int fSameComponent, OLECRINFO pcrinfo, int fHostIsActivating, OLECHOSTINFO pchostinfo, uint dwReserved ) : void
pic IOleComponent
fSameComponent int
pcrinfo OLECRINFO
fHostIsActivating int
pchostinfo OLECHOSTINFO
dwReserved uint
return void

OnAppActivate() public method

public OnAppActivate ( int fActive, uint dwOtherThreadID ) : void
fActive int
dwOtherThreadID uint
return void

OnEnterState() public method

public OnEnterState ( uint uStateID, int fEnter ) : void
uStateID uint
fEnter int
return void

OnLoseActivation() public method

public OnLoseActivation ( ) : void
return void

Terminate() public method

public Terminate ( ) : void
return void