| 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.BilingualApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
Examples
The
ILocationMarker implementation of this interface looks as follows:
void AcceptVisitor(IMarkupDataVisitor visitor)
{
visitor.VisitLocationMarker(this);
}
See Also
Comments