System.AddIn.Contract.Collections 命名空间

包含定义集合 IContractRemoteArgument 对象的接口。

结构

名称 说明
RemoteArgumentDictionaryEntry

在 . 中 IRemoteArgumentDictionaryContract定义键/值对

接口

名称 说明
IArrayContract<C>

表示对象的 IContract 泛型数组。

ICollectionContract<C>

表示对象的 IContract 泛型集合。

IEnumerableContract<C>

公开一个枚举器,该枚举器支持对对象的泛型集合 IContract 进行简单迭代。

IEnumeratorContract<C>

枚举对象的泛型集合的 IContract 元素。

IListContract<C>

表示可由索引单独访问的 IContract 对象的泛型集合。

IRemoteArgumentArrayContract

表示对象的数组 RemoteArgument

IRemoteArgumentArrayListContract

表示一个对象数组 RemoteArgument ,这些对象根据需要动态调整自身大小。

IRemoteArgumentCollectionContract

表示 对象的集合 RemoteArgument

IRemoteArgumentDictionaryContract

表示存储为键/值对的对象集合 RemoteArgument

IRemoteArgumentDictionaryEnumeratorContract

枚举 . 的 IRemoteArgumentDictionaryContract元素

IRemoteArgumentEnumerableContract

公开支持对对象集合进行简单迭代的 RemoteArgument 枚举器。

IRemoteArgumentEnumeratorContract

枚举对象的集合的 RemoteArgument 元素。

注解

使用命名空间中的System.AddIn.Contract.Collections接口实现对象的IContractRemoteArgument集合类。

命名空间中的 System.AddIn.Contract.Collections 接口也称为协定。 所有协定都派生自 IContract 接口。

命名空间 System.AddIn.Contract.Collections 包含两组接口:

  • 定义实现接口的类型的泛型集合和可枚举集合的 IContract 接口。

  • 定义对象的可枚举集合的 RemoteArgument 接口。

另请参阅