public ShapeProvider(Func<MessageInfo,bool> match, IServices services) { if (match == null) throw new ArgumentNullException("match"); _match = match; _services = services; }