World is now on Opti ID! Learn more

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: 10.10.4
Syntax
public static class VirtualPathQueryExtensions

Methods

AddContentNodes(VirtualPathQuery, ContentReference)

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)
Parameters
Type Name Description
EPiServer.Search.Queries.Lucene.VirtualPathQuery query

The query to extend.

ContentReference contentLink

The content link.

AddContentNodes(VirtualPathQuery, ContentReference, IContentLoader)

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

Declaration
[Obsolete("Use override that does not take IContentLoader")]
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.