C# Class AI.nRepo.VSExtensions.Connect

The object for implementing an Add-in.
Inheritance: IDTExtensibility2
Show file Open project: theAIteam/nRepo

Public Methods

Method Description
Connect ( ) : System

Implements the constructor for the Add-in object. Place your initialization code within this method.

OnAddInsUpdate ( Array &custom ) : void

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.

OnBeginShutdown ( Array &custom ) : void

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.

OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, Array &custom ) : void

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.

OnDisconnection ( ext_DisconnectMode disconnectMode, Array &custom ) : void

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.

OnStartupComplete ( Array &custom ) : void

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.

Method Details

Connect() public method

Implements the constructor for the Add-in object. Place your initialization code within this method.
public Connect ( ) : System
return System

OnAddInsUpdate() public method

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.
public OnAddInsUpdate ( Array &custom ) : void
custom System.Array
return void

OnBeginShutdown() public method

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.
public OnBeginShutdown ( Array &custom ) : void
custom System.Array
return void

OnConnection() public method

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
public OnConnection ( object application, ext_ConnectMode connectMode, object addInInst, Array &custom ) : void
application object
connectMode ext_ConnectMode
addInInst object
custom System.Array
return void

OnDisconnection() public method

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
public OnDisconnection ( ext_DisconnectMode disconnectMode, Array &custom ) : void
disconnectMode ext_DisconnectMode
custom System.Array
return void

OnStartupComplete() public method

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.
public OnStartupComplete ( Array &custom ) : void
custom System.Array
return void