| 1 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. |
| 2 |
|
| 3 |
// |
| 4 |
// This file acts as a placeholder for future extension with a debugger service |
| 5 |
// intercepting all Observable[Ex] query operators, instrumenting those with a |
| 6 |
// set of debugger hooks. The code would boil down to a wrapper implementation |
| 7 |
// of IQueryLanguage[Ex] providing instrumentation for query operators, which |
| 8 |
// ultimately calls into the original "baseImpl" passed to the Extend method. |
| 9 |
// |
| 10 |
// Likely we want this code to be auto-generated based on certain patterns that |
| 11 |
// occur frequently in query operators. Also, to ensure debugger and target are |
| 12 |
// not going out of sync, we should properly version the interfaces and possibly |
| 13 |
// perform a runtime check for the loaded assembly versions to ensure everything |
| 14 |
// lines up correctly. |
| 15 |
// |
| 16 |
|
| 17 |
namespace System.Reactive.Linq |
| 18 |
{ |
| 19 |
/// <summary> |
| 20 |
/// (Infrastructure) Implement query debugger services. |
| 21 |
/// </summary> |
| 22 |
public class QueryDebugger : IQueryServices |
| 23 |
{ |
| 24 |
T IQueryServices.Extend<T>(T baseImpl) |
| 25 |
{ |
| 26 |
return baseImpl; |
| 27 |
} |
| 28 |
} |
| 29 |
} |