public CollectionAttributeProvider(AttributeCollection collection) { collection.CheckNotNull("collection"); Collection = collection; }