public static bool ModifyIORecord(ParkIORecord mode, out string ErrorMessage) { if (mode == null) { throw new ArgumentNullException("mode"); } IParkIORecord factory = ParkIORecordFactory.GetFactory(); return(factory.ModifyIORecord(mode, out ErrorMessage)); }