Used to retrieve URL query string arguments (outside of a controller).
Class: YetaWF.Core.Support.YetaWFManager
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
public bool TryGetUrlArg<TYPE>( string arg, out TYPE?? val, TYPE? dflt = null );
arg
The name of the query string argument.
val
Returns the query string argument. If the argument is not available, the type's default value is returned.
dflt
An optional value, which is returned if the argument is not available.
true if the argument was found, false otherwise.
This would not be used in a controller as these have access to all arguments via their parameter list. This is typically only used in a module action that is dynamically added by a module.
See Also YetaWF.Core.Support.YetaWFManager ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com