Hi Dojo,
I'm creating a GQI data source where the start and end time are optional. How can I verify in code if something has been filled in?
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 12th January 2024
Hi Jens,
You could use the methodTryGetArgumentValue to check if there is a value available. Example:
if (args.TryGetArgumentValue(myArgument, out myArgumentValue))
{// do something
}
Hope it helps.
Reference: RN35783
Miguel Obregon [SLC] [DevOps Catalyst] Answered question 12th January 2024