public static GetApiKey ( this req ) : |
||
req | this | |
return |
public static ApiKey GetApiKey(this IRequest req)
{
if (req == null)
return null;
object oApiKey;
return req.Items.TryGetValue(Keywords.ApiKey, out oApiKey)
? oApiKey as ApiKey
: null;
}