diff --git a/FormatWith/FormatWith.csproj b/FormatWith/FormatWith.csproj index 5e21b1a..974a0b8 100644 --- a/FormatWith/FormatWith.csproj +++ b/FormatWith/FormatWith.csproj @@ -1,4 +1,5 @@ + netstandard2.0 FormatWith @@ -7,7 +8,7 @@ FormatWith FormatWith FormatWith - 2.2.0 + 2.2.1 Ryan Crosby Copyright © Ryan Crosby 2017 named string formatter extension NetStandard 2.0 @@ -23,6 +24,15 @@ true https://github.com/crozone/FormatWith git - Added handler overload to FormatWith and FormattableWith. + Include XML documentation in package. + + + bin\Debug\netstandard2.0\FormatWith.xml + + + + bin\Release\netstandard2.0\FormatWith.xml + + diff --git a/FormatWith/StringExtensions.cs b/FormatWith/StringExtensions.cs index 3413718..52c7194 100644 --- a/FormatWith/StringExtensions.cs +++ b/FormatWith/StringExtensions.cs @@ -4,9 +4,13 @@ using System.Text; using FormatWith.Internal; using System.Runtime.CompilerServices; +using System.Collections; namespace FormatWith { + /// + /// The string extensions provided by FormatWith for string formatting. + /// public static class StringExtensions { #region FormatWith Overloads @@ -100,10 +104,6 @@ public static string FormatWith( /// /// The format string, containing keys like {foo} /// An with keys and values to inject into the string - /// The behaviour to use when the format string contains a parameter that is not present in the lookup dictionary - /// When the is specified, this string is used as a fallback replacement value when the parameter is present in the lookup dictionary. - /// The character used to begin parameters - /// The character used to end parameters /// The formatted string public static string FormatWith(this string formatString, IDictionary replacements) { @@ -343,7 +343,7 @@ public static FormattableString FormattableWith( #endregion /// - /// Gets an that will return all format parameters used within the format string. + /// Gets an that will return all format parameters used within the format string. /// /// The format string to be parsed /// The character used to begin parameters diff --git a/README.md b/README.md index af26d6d..a8e0c67 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FormatWith -[![NuGet](https://img.shields.io/badge/nuget-2.2.0-green.svg)](https://www.nuget.org/packages/FormatWith/) +[![NuGet](https://img.shields.io/badge/nuget-2.2.1-green.svg)](https://www.nuget.org/packages/FormatWith/) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)]() A set of string extension methods for performing {named} {{parameterized}} string formatting, written for NetStandard 2.0.