Click or drag to resize

DocumentVisitor Class

Traverses a document from root to all the leaves. The visitor uses depth-first traversal.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public class DocumentVisitor

The DocumentVisitor type exposes the following members.

Constructors
  NameDescription
Public methodDocumentVisitor
Initializes a new instance of the DocumentVisitor class
Top
Properties
  NameDescription
Protected propertyCurrentVisitedDocument
The currently visited document.
Protected propertyPreviousVisitedDocument
The previously visited document, which means either null, or the parent document of the currently visited document: currentVisistedDocument is the source of field F which is part of previousVisitedDocument.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisit(DocumentDefinitionBase)
Visits the specified document and all contained elements.
Protected methodVisit(DocumentFieldDefinition)
Visits the specified field and its source, if the source is a document.
Top
See Also