Fields<T> 类

定义

按名称编制索引的所有字段的字典。

public class Fields<T> : Microsoft.Bot.Builder.FormFlow.Advanced.IFields<T>, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.FormFlow.Advanced.IField<T>> where T : class
type Fields<'T (requires 'T : null)> = class
    interface IFields<'T (requires 'T : null)>
    interface seq<IField<'T>>
    interface IEnumerable
Public Class Fields(Of T)
Implements IEnumerable(Of IField(Of T)), IFields(Of T)

类型参数

T

基础窗体状态。

继承
Fields<T>
实现

构造函数

Fields<T>()

按名称编制索引的所有字段的字典。

字段

_fields

从字段名称映射到字段定义。

方法

Add(IField<T>)

按名称编制索引的所有字段的字典。

Field(String)

按名称编制索引的所有字段的字典。

GetEnumerator()

按名称编制索引的所有字段的字典。

显式接口实现

IEnumerable.GetEnumerator()

按名称编制索引的所有字段的字典。

扩展方法

MaxBy<T,R>(IEnumerable<T>, Func<T,R>, IComparer<R>)

按名称编制索引的所有字段的字典。

适用于