public FeatureNameCollectionSchema(FeatureNameCollection collection) { Contracts.CheckValue(collection, nameof(collection)); _collection = collection; _colType = new VectorType(NumberType.R4, collection.Count); _slotNamesType = new VectorType(TextType.Instance, collection.Count); _getSlotNames = GetSlotNames; }