CollectionAdapters Class

 

Enables collections to be passed between an add-in and its host application.

Namespace:   System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)

System::Object
  System.AddIn.Pipeline::CollectionAdapters

public ref class CollectionAdapters abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToIList<T>(IListContract<T>^)

Converts the specified IListContract<T> collection to an IList<T> collection.

System_CAPS_pubmethodSystem_CAPS_staticToIList<TContract, TView>(IListContract<TContract>^, Converter<TContract, TView>^, Converter<TView, TContract>^)

Converts a specified IListContract<T> collection to an IList<T> collection by using converter adapters.

System_CAPS_pubmethodSystem_CAPS_staticToIListContract<T>(IList<T>^)

Converts a specified IList<T> collection to an IListContract<T> collection.

System_CAPS_pubmethodSystem_CAPS_staticToIListContract<TView, TContract>(IList<TView>^, Converter<TView, TContract>^, Converter<TContract, TView>^)

Converts a specified IList<T> collection to an IListContract<T> collection by using converter adapters.

This class provides methods that enable an IList<T> collection to be converted to a IListContract<T> collection. The IListContract<T> collection is passed across the isolation boundary and converted back to an IList<T> collection that the add-in or the host application can use.

Objects in collections must be remotable. For more information about the object types that you can pass, see Contracts, Views, and Adapters.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: