ShapeAppBasicCSharpGenericCollectionIndexAdapter sample We’ll assume that you’ve looked over the previous sample from part 2 This sample will demonstrate how to pass a System.Collections.Generic.IList<ShapeAppCSharp. Document > instance, as a ‘by reference’ parameter, from...
Gary Depue's VSTA Blog
Filed under: Filed under: Addin.Contract, Contract, Adapter, VSTA 2.0, ProxyResolve, AdapterResolve, System.AddIn, pipeline, System.AddIn.Pipeline.CollectionAdapters, ByRef, converters, RemoteObjectAdapters
Add-in activation Host app calls System.AddIn.Hosting.AddInToken.Activate. System.AddIn Activate, loads the Add-in.dll creating addin instance that implements the Add-In (entrypoint) interface. Next, System.AddIn loads AddInSideAdapter.dll creating Add-In side Automation Adapter and passes it the AddIn...
ShapeAppBasicCSharpGenericCollectionAdapter sample This sample shows how to pass a System.Collections.Generic. IList <ShapeAppCSharp. Document > instance from the ShapeAppBasicCSharp host application to its add-in by extending the VSTA pipeline with adapters The list provided to the add-in is a...
The VSTA team provides an overview on how to hook custom adapters with VSTA pipeline here