public override object Accept(ISpotterVisitor visitor) { return(visitor.applyOn(this)); }
/// <summary> /// Every spotter have to define this method the same way. /// Purpose of this method is to extend functionality of content spotter so that it can do some specific work. /// This specific work is implemented by Spotter Visitors. /// </summary> /// <param name="visitor">SpotterVisitor that implements some speccific job that should be done.</param> /// <returns>object - whatever spotter visitor returns</returns> public abstract object Accept(ISpotterVisitor visitor);