1 out of 1 rated this helpful - Rate this topic

System.AddIn.Contract.Collections Namespace

The System.AddIn.Contract.Collections namespace contains interfaces that define collections of IContract and RemoteArgument objects.

Use the interfaces in the System.AddIn.Contract.Collections namespace to implement collection classes for IContract and RemoteArgument objects.

The interfaces in the System.AddIn.Contract.Collections namespace are also called contracts. All contracts derive from the IContract interface.

The System.AddIn.Contract.Collections namespace contains two sets of interfaces:

  • Interfaces that define generic and enumerable collections of types that implement the IContract interface.

  • Interfaces that define enumerable collections of RemoteArgument objects.

  StructureDescription
Public structureRemoteArgumentDictionaryEntryDefines a key/value pair in an IRemoteArgumentDictionaryContract.
  InterfaceDescription
Public interfaceIArrayContract<C>Represents a generic array of IContract objects.
Public interfaceICollectionContract<C>Represents a generic collection of IContract objects.
Public interfaceIEnumerableContract<C>Exposes an enumerator that supports a simple iteration over a generic collection of IContract objects.
Public interfaceIEnumeratorContract<C>Enumerates the elements of a generic collection of IContract objects.
Public interfaceIListContract<C>Represents a generic collection of IContract objects that can be individually accessed by index.
Public interfaceIRemoteArgumentArrayContractRepresents an array of RemoteArgument objects.
Public interfaceIRemoteArgumentArrayListContractRepresents an array of RemoteArgument objects that dynamically resizes itself as required.
Public interfaceIRemoteArgumentCollectionContractRepresents a collection of RemoteArgument objects.
Public interfaceIRemoteArgumentDictionaryContractRepresents a collection of RemoteArgument objects that are stored as key/value pairs.
Public interfaceIRemoteArgumentDictionaryEnumeratorContractEnumerates the elements of an IRemoteArgumentDictionaryContract.
Public interfaceIRemoteArgumentEnumerableContractExposes an enumerator that supports a simple iteration over a collection of RemoteArgument objects.
Public interfaceIRemoteArgumentEnumeratorContractEnumerates the elements of a collection of RemoteArgument objects.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.