File: InvariantExtensions.cs
Web Access
Project: src\src\Graphics\src\Graphics\Graphics.csproj (Microsoft.Maui.Graphics)
using System;
using System.Globalization;
 
namespace Microsoft.Maui.Graphics
{
	internal static class InvariantExtensions
	{
		public static string ToInvariantString(this char target)
		{
			return target.ToString();
		}
 
		public static string ToInvariantString(this int target)
		{
			return target.ToString(CultureInfo.InvariantCulture);
		}
 
		public static bool EqualsIgnoresCase(this string target, string value)
		{
			return target.Equals(value, StringComparison.OrdinalIgnoreCase);
		}
	}
}