◆ AddChild()
void FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.AddChild | ( | IAppleDecisionTreeNode | child | ) |
Add the specified node as a child.
- Parameters
-
- child -
Implements FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode.
◆ Match()
abstract bool FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.Match ( object evidenceValue ) pure virtualThe method to use to check if the supplied value matches this node.
- Parameters
-
- evidenceValue - The evidence value to compare against
- Returns
- True if the supplied evidence value matches the expected value for this node.
Implements FiftyOne.DeviceDetection.Apple.IAppleDecisionTreeNode.
Implemented in FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeRange, and FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNode.
Property Documentation
◆ Children
IReadOnlyList<IAppleDecisionTreeNode> FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.Children getThe child nodes
◆ EvidenceKey
string FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.EvidenceKey get setThe key of the evidence value to use to evaluate against the child nodes.
◆ ProfileId
uint? FiftyOne.DeviceDetection.Apple.AppleDecisionTreeNodeBase.ProfileId get setThe hardware profile Id to return if the evaluation reaches this node but matches no further children.