RuleBasedLabeling.Add

Add(Func<Feature, bool>, Labeling)

添加新的 LabelingRule

public void Add(Func<Feature, bool> filter, Labeling labeling)
参数类型描述
过滤器Func`2确定何时应将标签应用于特征。
标注标注filter 返回 true 时对特征应用的标签。

另见


Add(LabelingRule)

添加一条规则。

public void Add(LabelingRule rule)
参数类型描述
规则LabelingRule要添加的规则。

异常

异常条件
ArgumentNullException参数为 null

另见