Class VirtualPathQueryExtensions

Inheritance
System.Object
VirtualPathQueryExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Search.Queries.Lucene
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public static class VirtualPathQueryExtensions

Methods

AddContentNodes(VirtualPathQuery, ContentReference, IContentLoader)

Adds the path nodes of the content item referenced by the provided content link to the query.

Declaration
public static void AddContentNodes(this VirtualPathQuery query, ContentReference contentLink, IContentLoader contentLoader)
Parameters
Type Name Description
EPiServer.Search.Queries.Lucene.VirtualPathQuery query

The query to extend.

ContentReference contentLink

The content link.

IContentLoader contentLoader

The content queryable.

AddDirectoryNodes(VirtualPathQuery, VersioningDirectory)

Adds the virtual path nodes of the provided VersioningDirectory.

Declaration
public static void AddDirectoryNodes(this VirtualPathQuery query, VersioningDirectory directory)
Parameters
Type Name Description
EPiServer.Search.Queries.Lucene.VirtualPathQuery query

The query to extend.

VersioningDirectory directory

The versioning directory.