C# Class Dynamo.AutoTT.Connect

The object for implementing an Add-in.
Inheritance: IDTExtensibility2
Afficher le fichier Open project: MartinF/Dynamo.AutoTT

Méthodes publiques

Méthode 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.

Private Methods

Méthode Description
AttachEvents ( ) : void
BuildEvents_OnBuildProjConfigBegin ( string projectName, string projectConfig, string platform, string solutionConfig ) : void
DetachEvents ( ) : void
DocumentEvents_DocumentSaved ( Document document ) : void
ProjectItemsEvents_ItemAdded ( ProjectItem projectItem ) : void
ProjectItemsEvents_ItemRemoved ( ProjectItem projectItem ) : void
ProjectItemsEvents_ItemRenamed ( ProjectItem projectItem, string oldName ) : void
ProjectsEvents_ItemAdded ( Project project ) : void
ProjectsEvents_ItemRemoved ( Project project ) : void

Method Details

Connect() public méthode

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

OnAddInsUpdate() public méthode

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
Résultat void

OnBeginShutdown() public méthode

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
Résultat void

OnConnection() public méthode

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
Résultat void

OnDisconnection() public méthode

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
Résultat void

OnStartupComplete() public méthode

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
Résultat void