Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2.95 KB

File metadata and controls

39 lines (27 loc) · 2.95 KB

QuerySnapshotHost<T> Class

Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Hosts > QuerySnapshotHost

A host to snapshot the query on execution.

public class QuerySnapshotHost<T> : QueryHost<T, IQuerySnapshotProvider<T>>, IQuerySnapshotHost<T>

Type Parameters

Parameter Name Constraints Description
T None. The type of the query.

Inheritance ObjectQueryHost<T, TProvider>QuerySnapshotHost<T>

Implements IEnumerable , IEnumerable<out T> , IOrderedQueryable , IOrderedQueryable<out T> , IQueryable , IQueryable<out T> , IQueryHost<T, TProvider> , IQuerySnapshotHost<T>

Constructors

Ctor Description
QuerySnapshotHost(IQueryable<T> source) Initializes a new instance of the QuerySnapshotHost<T> class.
QuerySnapshotHost(IQueryable source, Expression expression) Initializes a new instance of the QuerySnapshotHost<T> class.
QuerySnapshotHost(Expression expression, IQuerySnapshotProvider<T> provider) Initializes a new instance of the QuerySnapshotHost<T> class.

Methods

Method Description
String RegisterSnap(Action<Expression> callback) Register for a callback when the Expression is executed.
Void UnregisterSnap(String id) Stop listenining.

Generated Copyright Version
02/22/2021 21:59:57 (c) Copyright 2020 Jeremy Likness. 0.9.7-beta