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