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>| Parameter Name | Constraints | Description |
|---|---|---|
T |
None. | The type of the query. |
Inheritance Object → QueryHost<T, TProvider> → QuerySnapshotHost<T>
Implements IEnumerable , IEnumerable<out T> , IOrderedQueryable , IOrderedQueryable<out T> , IQueryable , IQueryable<out T> , IQueryHost<T, TProvider> , IQuerySnapshotHost<T>
| 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. |
| 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 |