From 98e3cf15cd94940910b3355fbf1124aed9e6cf67 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 13 Aug 2021 16:23:16 +0100 Subject: [PATCH] comments --- Generator/StringToolsExtensions.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Generator/StringToolsExtensions.cs b/Generator/StringToolsExtensions.cs index f7b8d45..32efb9d 100644 --- a/Generator/StringToolsExtensions.cs +++ b/Generator/StringToolsExtensions.cs @@ -1,10 +1,12 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace Generator { public static class StringToolsExtensions { + /// + /// Add a string to a list only if it doesnt already exist + /// public static void AddUnique(this IList self, string item) { if (!self.Contains(item))