/// <summary> /// Dispatches this orphan to the visitor's <see cref="PrtgOrphanVisitor.VisitSensor(SensorOrphan)"/> method. /// </summary> /// <param name="visitor">The visitor to visit this orphan with.</param> internal override void Accept(PrtgOrphanVisitor visitor) => visitor.VisitSensor(this);
/// <summary> /// Dispatches this orphan to the visitor's <see cref="PrtgOrphanVisitor{TResult}.VisitSensor(SensorOrphan)"/> method /// and returns a value of a type specified by the <paramref name="visitor"/>. /// </summary> /// <typeparam name="T">The type of value to return.</typeparam> /// <param name="visitor">The visitor to visit this orphan with.</param> /// <returns>The result of visiting this orphan.</returns> internal override T Accept <T>(PrtgOrphanVisitor <T> visitor) => visitor.VisitSensor(this);