public override bool EnterConference(Conference conference) { if (IsWeird(conference.title)) { var newtitle = Normalise(conference.title); if (newtitle != conference.title) { Xformation action = new XConf(GenConfAction(newtitle)); Manager.RegisterAction("Misnamed proceedings", conference, action); } } return(false); }
public override bool EnterConference(Conference conference) { if (String.IsNullOrEmpty(conference.venue)) { string proposed = Walker.PureName(conference).Split('-')[0]; Xformation action = new XConf(GenConfAction(proposed)); Manager.RegisterAction("Conference lacks a venue", conference, action); confvenue = String.Empty; return(false); } else { confvenue = conference.venue; return(true); } }