예제 #1
0
 public static bool HasPageNumber(this ICommandOptions options)
 {
     return(options.SafeHasOption(SetPagingOptionsExtensions.PageNumberKey));
 }
예제 #2
0
 public static bool HasCacheKey(this ICommandOptions options)
 {
     return(options.SafeHasOption(SetCacheOptionsExtensions.CacheKeyKey) || options.SafeHasOption(SetCacheOptionsExtensions.DefaultCacheKeyKey));
 }
 public static bool HasSnapshotLifetime(this ICommandOptions options)
 {
     return(options.SafeHasOption(SetElasticOptionsExtensions.SnapshotPagingLifetimeKey));
 }
 public static bool HasSearchAfter(this ICommandOptions options)
 {
     return(options.SafeHasOption(SetElasticOptionsExtensions.SearchAfterKey));
 }
 public static bool HasSnapshotScrollId(this ICommandOptions options)
 {
     return(options.SafeHasOption(SetElasticOptionsExtensions.SnapshotPagingScrollIdKey));
 }