protected bool PreviousPolicy <T>(out PolicyTagEvent tag) where T : PolicyPartBase { var policyConcept = AsConcept <T>(); tag = _turnEvents.Where(e => e is PolicyTagEvent tagEvt && tagEvt.Tag.Concept == policyConcept).FirstOrDefault() as PolicyTagEvent; return(tag != null); }
internal virtual void Visit(PolicyTagEvent evt) { // nothing to do by default }