Table of Contents

Class EmptySearchResults

Namespace
Examine
Assembly
Examine.Core.dll

Represents ISearchResults with no elements

public sealed class EmptySearchResults : ISearchResults, IEnumerable<ISearchResult>, IEnumerable
Inheritance
EmptySearchResults
Implements
Inherited Members

Properties

Instance

Gets the static instance

public static ISearchResults Instance { get; }

Property Value

ISearchResults

TotalItemCount

Returns the Total item count for the search regardless of skip/take/max count values

public long TotalItemCount { get; }

Property Value

long

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<ISearchResult> GetEnumerator()

Returns

IEnumerator<ISearchResult>

An enumerator that can be used to iterate through the collection.

Skip(int)

public IEnumerable<ISearchResult> Skip(int skip)

Parameters

skip int

Returns

IEnumerable<ISearchResult>

SkipTake(int, int?)

public IEnumerable<ISearchResult> SkipTake(int skip, int? take = null)

Parameters

skip int
take int?

Returns

IEnumerable<ISearchResult>