Beispiel #1
0
 /// <summary>
 /// Adds a <see cref="Neo4JSortProvider"/> with default configuration
 /// </summary>
 /// <param name="descriptor">The descriptor where the provider is registered</param>
 /// <returns>The <paramref name="descriptor"/> that was passed in as a parameter</returns>
 public static ISortConventionDescriptor UseNeo4JProvider(
     this ISortConventionDescriptor descriptor) =>
 descriptor.Provider(new Neo4JSortProvider(x => x.AddDefaultFieldHandlers()));
 public static ISortConventionDescriptor UseQueryableProvider(
     this ISortConventionDescriptor descriptor) =>
 descriptor.Provider(new QueryableSortProvider(x => x.AddDefaultFieldHandlers()));