public static ParkIORecord GetIORecord(string recordID, out string ErrorMessage) { if (recordID.IsEmpty()) { throw new ArgumentNullException("recordID"); } IParkIORecord factory = ParkIORecordFactory.GetFactory(); return(factory.GetIORecord(recordID, out ErrorMessage)); }