void VerifyContributorIsRegistered(Type contributorType) { if (!GetContributorsOfType(contributorType).Any()) throw new ArgumentOutOfRangeException("There is no registered contributor matching type " + contributorType.FullName); }