◆ AddChild()
| void FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.AddChild | ( | IAppleDecisionTreeNode | child | ) |
Add the specified node as a child.
- Parameters
-
- child -
Implements FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode.
\r\n
Base class for nodes in the decision tree used by AppleDecisionTree.
| abstract bool | Match (object evidenceValue)
The method to use to check if the supplied value matches this node. More...
|
| void | AddChild (IAppleDecisionTreeNode child)
Add the specified node as a child. More...
|
| uint? | ProfileId [get, set]
The hardware profile Id to return if the evaluation reaches this node but matches no further children. More...
|
| string | EvidenceKey [get, set]
The key of the evidence value to use to evaluate against the child nodes. More...
|
| IReadOnlyList< IAppleDecisionTreeNode > | Children [get]
The child nodes More...
|
Properties inherited from FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode | |
| uint? | ProfileId [get, set]
|
[get, set]
[get]
| void FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.AddChild | ( | IAppleDecisionTreeNode | child | ) |
Add the specified node as a child.
Implements FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode.
| abstract bool FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.Match | ( | object | evidenceValue | ) |
The method to use to check if the supplied value matches this node.
Implements FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode.
Implemented in FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeRange, and FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNode.
| IReadOnlyList<IAppleDecisionTreeNode> FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.Children |
The child nodes
| string FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.EvidenceKey |
The key of the evidence value to use to evaluate against the child nodes.
| uint? FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.ProfileId |
The hardware profile Id to return if the evaluation reaches this node but matches no further children.