Click or drag to resize

ForEachPlaceholder Class

Handler that begins a foreach template block. Closed by NextPlaceholder. The block is expanded for each object in the context.
Inheritance Hierarchy

Namespace:  MFiles.VAF.Placeholders.Commands
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class ForEachPlaceholder : BlockCommandHandler

The ForEachPlaceholder type exposes the following members.

Constructors
  NameDescription
Public methodForEachPlaceholder
Initializes a new instance of the ForEachPlaceholder class
Top
Properties
  NameDescription
Public propertyAcceptsContextTypes
The datatype this command handler accepts for the context when expanding.
(Overrides PlaceholderCommandHandlerAcceptsContextTypes.)
Public propertyClosedBlock
The block this handler's level's placeholder closed (if any).
(Inherited from BlockCommandHandler.)
Public propertyCommand
The level's command.
(Inherited from PlaceholderCommandHandler.)
Public propertyContextType
The datatype this command handler will output.
(Overrides PlaceholderCommandHandlerContextType.)
Protected propertyInitialized
Indicates whether the handler has been initialized.
(Inherited from PlaceholderCommandHandler.)
Public propertyIssues
Issues encountered during initialization.
(Inherited from PlaceholderCommandHandler.)
Public propertyLevel
The placeholder level this object is handling.
(Inherited from PlaceholderCommandHandler.)
Public propertyOpenedBlock
The block this handler's level's placeholder opened (if any).
(Inherited from BlockCommandHandler.)
Public propertyParameter
The level's parameter.
(Inherited from PlaceholderCommandHandler.)
Public propertySettings
The level's parse and expansion settings.
(Inherited from PlaceholderCommandHandler.)
Protected propertySupportedTypes
The level types supported by this handler.
(Overrides PlaceholderCommandHandlerSupportedTypes.)
Public propertyVault
The level's vault.
(Inherited from PlaceholderCommandHandler.)
Top
Methods
  NameDescription
Protected methodClassVisibleToUser
Determines if the ObjectClass is visible to the current user session.
(Inherited from PlaceholderCommandHandler.)
Public methodClosesBlock
Determines if this command can close a block.
(Inherited from BlockCommandHandler.)
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 PlaceholderCommandHandlerExpand(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
Provides all structure references that exist and were resolved in this placeholder level.
(Inherited from PlaceholderCommandHandler.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
Initializes the handler for a specific placeholder level. Sets the level, and performs base validation and kicks off custom initialization.
(Inherited from PlaceholderCommandHandler.)
Protected methodInitialize
Performs custom initialization.
(Overrides PlaceholderCommandHandlerInitialize.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodObjTypeVisibleToUser
Determines if the ObjType is visible to the current user session.
(Inherited from PlaceholderCommandHandler.)
Public methodOpensBlock
Determines if this command starts a new block.
(Overrides BlockCommandHandlerOpensBlock.)
Protected methodPropertyVisibleToUser
Determines if the PropertyDef is visible to the current user session.
(Inherited from PlaceholderCommandHandler.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValueListItemVisibleToUser
Determines if the ObjectClass is visible to the current user session.
(Inherited from PlaceholderCommandHandler.)
Top
See Also