private static void SetShingleIsCEO(Shingle s, Db ctx) { s.kind = ShingleKind.CEO; s.LastRecomputeDate = null; }
private static bool IsCurrency(Shingle s, Db ctx) { return(s.text.Length == 3 && ctx.Currencies.Any(x => x.AplhabeticCode == s.text)); }
private static void SetShingleIsUpperCase(Shingle s, Db ctx) { s.kind = ShingleKind.upperCase; }
private static void SetShingleIsCurrency(Shingle shingle, Db ctx) { shingle.kind = ShingleKind.currency; }