Used to locate a built-in command based on its URL.
Class: YetaWF.Core.Support.BuiltinCommands
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
public static Task<Func<QueryHelper,Task>?> FindAsync( string url, bool checkAuthorization = true );
url
The URL of the built-in command.
checkAuthorization
true to check for authorization, be checking whether the use/role has the required resource name defined. Or false otherwise, which means no authorization checking is performed.
The callback to run the command. null is returned if the URL doesn't map to a built-in command.
See Also YetaWF.Core.Support.BuiltinCommands ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com