Пример #1
0
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("sum", this);
     plugIns.RegisterMethodTranslator("max", this);
     plugIns.RegisterMethodTranslator("min", this);
     plugIns.RegisterMethodTranslator("average", this);
 }
Пример #2
0
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("OrderBy", this);
     plugIns.RegisterMethodTranslator("OrderByDescending", this);
     plugIns.RegisterMethodTranslator("ThenBy", this);
     plugIns.RegisterMethodTranslator("ThenByDescending", this);
 }
Пример #3
0
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("where", this);
 }
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("take", this);
     plugIns.RegisterMethodTranslator("skip", this);
 }
Пример #5
0
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("startswith", this);
     plugIns.RegisterMethodTranslator("endswith", this);
 }
Пример #6
0
 /// <inheritdoc />
 public override void Register(TranslationPlugIns plugIns)
 {
     plugIns.RegisterMethodTranslator("DistinctCount", this);
 }