public bool TryGetArg(string argName, out Object& value)
No description provided.
No description provided.
bool
using System;
public class CPHInline
{
public bool Execute()
{
//OptionA
CPH.TryGetArg<string>("userName",out string userName);
//OptionB
//Check whether userId argument exists directly as TryGetArg returns boolean if( CPH.TryGetArg("userId",out string userId) ) {
//Do things if userId existed
string test = "UserId:" + userId;
}
return true;
}
}