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

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