Exemplo n.º 1
0
 public bool Contains(string str, StringComparison comparisonType = StringComparison.InvariantCultureIgnoreCase)
 {
     if (English.Equals(str, comparisonType) ||
         French.Equals(str, comparisonType) ||
         German.Equals(str, comparisonType) ||
         Italian.Equals(str, comparisonType) ||
         Japanese.Equals(str, comparisonType) ||
         Korean.Equals(str, comparisonType) ||
         Spanish.Equals(str, comparisonType))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
 public bool Equals(TranslatedStringWithDefault other)
 {
     return(Default.Equals(other.Default) && English.Equals(other.English) && Japanese.Equals(other.Japanese) && Romaji.Equals(other.Romaji));
 }