MFilesUrlPlaceholderCommandProvider(String, UrlTargetPlatform, Boolean, MFilesURLType) Constructor

Constructor. Creates a provider for a StaticTextPlacholder.

Definition

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

Parameters

command  String
The name of the command this object provides a handler for.
platform  UrlTargetPlatform
The platform the url should target.
specificVersion  Boolean
Indicates if the generated URL's will point to a specific version of the object, or the latest.
urlType  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