add a static method to parameter class that just sets the value and name based off a variant passed in.