Click or drag to resize

IUserSessionListT Method


Retrieves the collection of all objects of a given type.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IRavenQueryable<T> List<T>()

Type Parameters

T
Type of object to retrieve

Return Value

Type: IRavenQueryableT
Collection of objects of given type. Deferred execution.
Remarks
The actual execution of a query is deferred; therefore, additional queries can apply to the result and be executed on the content-store side. In order for the query to be executed on content-store side, additional queries cannot use any of the object's methods, only fields and direct properties. If content store–side execution is not required, you should first convert the result to an array using the "ToArray()" method.
See Also