Skip to content

Commit 4ee7b04

Browse files
committed
Template Engine CLI commands: separate definitions from implementations
1 parent f803b29 commit 4ee7b04

File tree

74 files changed

+1041
-997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1041
-997
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
namespace Microsoft.TemplateEngine.Cli;
5+
6+
internal static class CollectionExtensions
7+
{
8+
public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)
9+
{
10+
foreach (T item in items)
11+
{
12+
collection.Add(item);
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)