protected override void ValidateArgs() { base.ValidateArgs(); if (QueryArgs.ContainsVariable("ident")) { QueryArgs["ident"].PropertyValue = new PropertyValue(((string)(QueryArgs["ident"].PropertyValue.Value ?? "")).ToUpper()); } else if (QueryArgs.ContainsVariable("faFlightID")) { var flightid = QueryArgs["faFlightID"]; QueryArgs.Clear(); QueryArgs.Add(new EqualQueryArg { Variable = "ident", PropertyValue = new PropertyValue(flightid.PropertyValue.Value) }); } }