Click or drag to resize

MFilesUrlPlaceholderCommandProvider Constructor

Constructor. Creates a provider for a StaticTextPlacholder.

Namespace:  MFiles.VAF.Placeholders.Commands
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public MFilesUrlPlaceholderCommandProvider(
	string command,
	UrlTargetPlatform platform,
	bool specificVersion,
	MFilesURLType urlType
)

Parameters

command
Type: SystemString
The name of the command this object provides a handler for.
platform
Type: MFiles.VAF.CommonUrlTargetPlatform
The platform the url should target.
specificVersion
Type: SystemBoolean
Indicates if the generated URL's will point to a specific version of the object, or the latest.
urlType
Type: MFilesURLType
Indicates the behavior of the generated url.
Remarks
The provider will always return the same instance of the handler, so the staticText can be changed between expansions without re-parsing the template.
See Also