QueryDebugger.cs 1.1 KB

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