編輯

共用方式為


System.AddIn.Contract.Collections Namespace

Contains interfaces that define collections of IContract and RemoteArgument objects.

Structs

RemoteArgumentDictionaryEntry

Defines a key/value pair in an IRemoteArgumentDictionaryContract.

Interfaces

IArrayContract<C>

Represents a generic array of IContract objects.

ICollectionContract<C>

Represents a generic collection of IContract objects.

IEnumerableContract<C>

Exposes an enumerator that supports a simple iteration over a generic collection of IContract objects.

IEnumeratorContract<C>

Enumerates the elements of a generic collection of IContract objects.

IListContract<C>

Represents a generic collection of IContract objects that can be individually accessed by index.

IRemoteArgumentArrayContract

Represents an array of RemoteArgument objects.

IRemoteArgumentArrayListContract

Represents an array of RemoteArgument objects that dynamically resizes itself as required.

IRemoteArgumentCollectionContract

Represents a collection of RemoteArgument objects.

IRemoteArgumentDictionaryContract

Represents a collection of RemoteArgument objects that are stored as key/value pairs.

IRemoteArgumentDictionaryEnumeratorContract

Enumerates the elements of an IRemoteArgumentDictionaryContract.

IRemoteArgumentEnumerableContract

Exposes an enumerator that supports a simple iteration over a collection of RemoteArgument objects.

IRemoteArgumentEnumeratorContract

Enumerates the elements of a collection of RemoteArgument objects.

Remarks

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.

See also