winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

StringHelpers.cs (823B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="StringHelpers.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.Management.Configuration.Processor.Helpers
      8 {
      9     /// <summary>
     10     /// String helpers.
     11     /// </summary>
     12     internal static class StringHelpers
     13     {
     14         /// <summary>
     15         /// Normalize string.
     16         /// </summary>
     17         /// <param name="value">Value.</param>
     18         /// <returns>Normalized string.</returns>
     19         public static string Normalize(string value)
     20         {
     21             return value.ToLowerInvariant();
     22         }
     23     }
     24 }