This topic has not yet been rated - 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.

  Structure Description
Public structure RemoteArgumentDictionaryEntry Defines a key/value pair in an IRemoteArgumentDictionaryContract.
  Interface Description
Public interface IArrayContract<C> Represents a generic array of IContract objects.
Public interface ICollectionContract<C> Represents a generic collection of IContract objects.
Public interface IEnumerableContract<C> Exposes an enumerator that supports a simple iteration over a generic collection of IContract objects.
Public interface IEnumeratorContract<C> Enumerates the elements of a generic collection of IContract objects.
Public interface IListContract<C> Represents a generic collection of IContract objects that can be individually accessed by index.
Public interface IRemoteArgumentArrayContract Represents an array of RemoteArgument objects.
Public interface IRemoteArgumentArrayListContract Represents an array of RemoteArgument objects that dynamically resizes itself as required.
Public interface IRemoteArgumentCollectionContract Represents a collection of RemoteArgument objects.
Public interface IRemoteArgumentDictionaryContract Represents a collection of RemoteArgument objects that are stored as key/value pairs.
Public interface IRemoteArgumentDictionaryEnumeratorContract Enumerates the elements of an IRemoteArgumentDictionaryContract.
Public interface IRemoteArgumentEnumerableContract Exposes an enumerator that supports a simple iteration over a collection of RemoteArgument objects.
Public interface IRemoteArgumentEnumeratorContract Enumerates the elements of a collection of RemoteArgument objects.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.