Exemple #1
0
 /// <summary>
 /// Ordinal ignore case comparison of values of BrandingNames
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public static bool BrandingNamesEqual(BrandingName x, BrandingName y)
 {
     return(x.Name.Equals(y.Name, StringComparison.OrdinalIgnoreCase));
 }
Exemple #2
0
 /// <summary>
 /// Ordinal ignore case comparison of values of BrandingNames.
 /// Removes (R) from both branding names before comparison
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public static bool BrandingNamesEqualIgnoreR(BrandingName x, BrandingName y)
 {
     return(x.Name.Replace("®", String.Empty).Equals(y.Name.Replace("®", String.Empty), StringComparison.OrdinalIgnoreCase));
 }
Exemple #3
0
 public BrandingNameEntry(BrandingName english, IDictionary <CultureInfo, BrandingName> translations)
 {
     English      = english;
     Translations = translations;
 }