Click or drag to resize
IAbstractMarkupDataAcceptVisitor Method
Part of the visitor pattern implementation for markup data. This method is overridden in each leaf implementation. The implementation should call the Visit... method on the visitor corresponding to their object type, passing themselves (i.e. this) as the parameter. Objects that contain other objects (e.g. implementations of ISegment or IOtherMarker) should NOT apply the visitor to their content items. It must be left to the visitor implementation to 'decide' whether the visitor 'wants' to visit the sub-items of a node.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
void AcceptVisitor(
	IMarkupDataVisitor visitor
)

Parameters

visitor
Type: Sdl.FileTypeSupport.Framework.BilingualApiIMarkupDataVisitor
Examples
The ILocationMarker implementation of this interface looks as follows:
void AcceptVisitor(IMarkupDataVisitor visitor)
{
  visitor.VisitLocationMarker(this);
}
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments