public MyLinqToHqlGeneratorsRegistry()
        {
            RegisterGenerator(ReflectionHelper.GetMethodDefinition(
                                  () => StringExtensions.GreaterEqual(null, null)), new StringGreaterEqualGenerator());

            RegisterGenerator(ReflectionHelper.GetMethodDefinition(
                                  () => StringExtensions.LessEqual(null, null)), new StringLessEqualGenerator());

            RegisterGenerator(ReflectionHelper.GetMethodDefinition(
                                  () => StringExtensions.Greater(null, null)), new StringGreaterGenerator());

            RegisterGenerator(ReflectionHelper.GetMethodDefinition(
                                  () => StringExtensions.Less(null, null)), new StringLessGenerator());



            //   RegisterGenerator(ReflectionHelper.GetMethodDefinition(() => new HashSet<long>().Contains( 0)), new HashsetSetGenerator());
        }
 public StringLessGenerator()
 {
     SupportedMethods = new[] { ReflectionHelper.GetMethodDefinition(() => StringExtensions.Less(null, null)) };
 }
 public StringGreaterEqualGenerator()
 {
     SupportedMethods = new[] { ReflectionHelper.GetMethodDefinition(() => StringExtensions.GreaterEqual(null, null)) };
 }