comparison Implab/Diagnostics/Extensions.cs @ 134:04d4c92d0f28 v2

Improved logging
author cin
date Wed, 11 Feb 2015 02:12:15 +0300
parents 2573b562e328
children f75cfa58e3d4
comparison
equal deleted inserted replaced
133:6c49d02a9a05 134:04d4c92d0f28
1 using System; 1 namespace Implab.Diagnostics {
2
3 namespace Implab.Diagnostics {
4 public static class Extensions { 2 public static class Extensions {
5 public static IPromise<T> EndLogicalOperation<T>(this IPromise<T> promise) { 3 public static IPromise<T> EndLogicalOperation<T>(this IPromise<T> promise) {
6 Safe.ArgumentNotNull(promise, "promise"); 4 Safe.ArgumentNotNull(promise, "promise");
7 var op = TraceContext.Instance.DetachLogicalOperation(); 5 var op = TraceContext.Instance.DetachLogicalOperation();
8 6