Exemple #1
0
 private string Aggregate(PropertyMetadataCollection properties)
 => properties.Select(p => p.Name).Aggregate((_1, _2) => _1 + "," + _2);
Exemple #2
0
        private void AssertProperties(PropertyMetadataCollection collection, params string[] properties)
        {
            var names = collection.Select(p => p.Name).ToArray();

            names.Should().BeEquivalentTo(properties);
        }