Click or drag to resize

PlaceholderLevel Class

Represents a single level within a placeholder.
Inheritance Hierarchy

Namespace:  MFiles.VAF.Placeholders
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class PlaceholderLevel : PlaceholderTemplateElement

The PlaceholderLevel type exposes the following members.

Constructors
  NameDescription
Public methodPlaceholderLevel
Constructor.
Top
Properties
  NameDescription
Public propertyAcceptsContextTypes
The expansion context datatypes allowed.
Public propertyChildCount
The number of child nodes this node has.
(Inherited from PlaceholderTemplateNode.)
Public propertyChildren
This node's child nodes.
(Inherited from PlaceholderTemplateNode.)
Public propertyCommand
The name of the level used in the placeholder.
Public propertyContextType
The datatype this level emits during expansion.
Public propertyHandler
The handler that can validate and expand this level.
Public propertyIsLeaf
True if this node cannot contain children.
(Inherited from PlaceholderTemplateNode.)
Public propertyLevelType
The type of level this object represents.
Public propertyParameter
The name of the level used in the placeholder.
Public propertyParent
This node's parent node.
(Inherited from PlaceholderTemplateElement.)
Public propertyPlaceholder
The placeholder in which this level resides.
Public propertyRoot
The placeholder template in which this node resides.
(Inherited from PlaceholderTemplateElement.)
Public propertySettings
The settings which control how a placeholders are parsed and expanded.
(Inherited from PlaceholderTemplateElement.)
Public propertyText
The text representation of the level.
(Overrides PlaceholderTemplateNodeText.)
Public propertyType
The type of node this object represents.
(Overrides PlaceholderTemplateNodeType.)
Public propertyValidChildTypes
The type of child nodes this node can contain.
(Overrides PlaceholderTemplateNodeValidChildTypes.)
Public propertyVault
The vault for which the placeholder document is defined/intended.
(Inherited from PlaceholderTemplateElement.)
Top
Methods
  NameDescription
Public methodAppendChild
Appends a child node to this node's children.
(Inherited from PlaceholderTemplateNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExpand
Expands this node in the given context.
(Overrides PlaceholderTemplateNodeExpand(IExpansionContext, ObjVerExReadCache).)
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 methodGetResolvedStructureReferences
Finds any resolved structure references in this node or it's children.
(Overrides PlaceholderTemplateNodeGetResolvedStructureReferences.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidExpansionContext
Determines if a context is valid input for expanding this level.
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 methodValidate
Validates the node and it's child nodes returning all issues found throughout. Returns static parse based issues, not expansion issues.
(Overrides PlaceholderTemplateNodeValidate.)
Top
Fields
  NameDescription
Protected fieldchildren
This node's child nodes.
(Inherited from PlaceholderTemplateNode.)
Top
See Also