Added method XParameters.GetValue that supports default value.