diff --git a/src/Kritner.ExtensionMethods/EnumerableExtensions.cs b/src/Kritner.ExtensionMethods/EnumerableExtensions.cs index df2d56c..2511dd4 100644 --- a/src/Kritner.ExtensionMethods/EnumerableExtensions.cs +++ b/src/Kritner.ExtensionMethods/EnumerableExtensions.cs @@ -10,21 +10,20 @@ namespace Kritner.ExtensionMethods public static class EnumerableExtensions { /// - /// Attempts to find the first item in + /// Attempts to find the first item in items. /// meeting . /// - /// Returns the when item found, - /// when not. + /// Returns the true when item found, false when not. /// - /// Found result is contained within out parameter . + /// Found result is contained within out parameter result. /// - /// - /// - /// - /// - /// when item found. otherwise. + /// The generic enumerable type. + /// The items to enumerate. + /// The predicate to search for within items. + /// The result (when found). + /// true when item found, false otherwise. /// - /// Thrown when or is null. + /// Thrown when items or predicate is null. /// public static bool TryFirst( this IEnumerable items, diff --git a/src/Kritner.ExtensionMethods/Kritner.ExtensionMethods.csproj b/src/Kritner.ExtensionMethods/Kritner.ExtensionMethods.csproj index d139b05..7ff69d1 100644 --- a/src/Kritner.ExtensionMethods/Kritner.ExtensionMethods.csproj +++ b/src/Kritner.ExtensionMethods/Kritner.ExtensionMethods.csproj @@ -1,12 +1,18 @@ - + netstandard2.0 Some extension methods I find useful extension methods - 1.0.1 + 1.0.1.1 https://github.com/Kritner-Blogs/ExtensionMethods git + Adds xml documentation + true + + + + bin\Release\netstandard2.0\Kritner.ExtensionMethods.xml diff --git a/src/Kritner.ExtensionMethods/ListExtensions.cs b/src/Kritner.ExtensionMethods/ListExtensions.cs index 609595c..6281b96 100644 --- a/src/Kritner.ExtensionMethods/ListExtensions.cs +++ b/src/Kritner.ExtensionMethods/ListExtensions.cs @@ -15,7 +15,7 @@ public static class ListExtensions /// The type contained within the . /// The . /// The item to potentially add. - /// Thrown if is null + /// Thrown if obj is null public static void AddIfNotNull(this IList obj, T item) { if (obj == null) @@ -36,8 +36,8 @@ public static void AddIfNotNull(this IList obj, T item) /// /// The type contained within the . /// The . - /// The items to potentially add. - /// Thrown if is null + /// The items to potentially add. + /// Thrown if obj is null public static void AddRangeIfNotNull(this IList obj, IEnumerable items) { if (obj == null)