Adds a built-in command.
Class: YetaWF.Core.Support.BuiltinCommands
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
public static void Add( string url, string resourceName, Func<QueryHelper,Task> func );
url
Defines the URL used to invoke the command being added. E.g., "/$this-is-a-test".
resourceName
The resource name used to protect the built-in command. Only users/roles with the specified resource name enabled have access to this command. In demo mode, the command is always protected and cannot be used.
func
The callback invoked when the specified command is used.
See Also YetaWF.Core.Support.BuiltinCommands ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com