ExpandedPlaceholder Constructor |
Constructor.
Namespace:
MFiles.VAF.Placeholders
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic ExpandedPlaceholder(
Placeholder source,
IExpansionContext context,
List<ExpandedPlaceholderTemplateNode> expandedChildNodes,
List<PlaceholderExpansionIssue> issues,
bool hideMissingValue = true,
IEncodingPlaceholderCommand defaultEncoder = null,
SessionInfo userSession = null
)
Public Sub New (
source As Placeholder,
context As IExpansionContext,
expandedChildNodes As List(Of ExpandedPlaceholderTemplateNode),
issues As List(Of PlaceholderExpansionIssue),
Optional hideMissingValue As Boolean = true,
Optional defaultEncoder As IEncodingPlaceholderCommand = Nothing,
Optional userSession As SessionInfo = Nothing
)
public:
ExpandedPlaceholder(
Placeholder^ source,
IExpansionContext^ context,
List<ExpandedPlaceholderTemplateNode^>^ expandedChildNodes,
List<PlaceholderExpansionIssue^>^ issues,
bool hideMissingValue = true,
IEncodingPlaceholderCommand^ defaultEncoder = nullptr,
SessionInfo^ userSession = nullptr
)
Parameters
- source
- Type: MFiles.VAF.PlaceholdersPlaceholder
The item that was expanded - context
- Type: MFiles.VAF.PlaceholdersIExpansionContext
The context of the expansion. - expandedChildNodes
- Type: System.Collections.GenericListExpandedPlaceholderTemplateNode
Expanded child nodes. - issues
- Type: System.Collections.GenericListPlaceholderExpansionIssue
Issues expanding the source node (not it's children) - hideMissingValue (Optional)
- Type: SystemBoolean
Indicates whether the placeholder text should be left as-is if the context is empty. - defaultEncoder (Optional)
- Type: MFiles.VAF.PlaceholdersIEncodingPlaceholderCommand
Indicates the default encoding to use. - userSession (Optional)
- Type: SessionInfo
The user session used during expansion, if any.
See Also