private bool IsContractRegistered(Type type) { if (type == null) throw new ArgumentNullException("type"); return _contracts.Contains(type); }