##// END OF EJS Templates
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler...
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler Any unhandled OperationCanceledException will cause the promise cancelation

File last commit:

r134:04d4c92d0f28 v2
r187:dd4a3590f9c6 ref20160224
Show More
LogEventArgs.cs
29 lines | 732 B | text/x-csharp | CSharpLexer
using System;
namespace Implab.Diagnostics {
public class LogEventArgs : EventArgs {
public string ChannelName {
get;
private set;
}
public int ThreadId {
get;
private set;
}
public LogicalOperation Operation {
get;
private set;
}
public int OperationTimeOffset {
get;
private set;
}
public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) {
ChannelName = channelName;
ThreadId = threadId;
Operation = operation;
OperationTimeOffset = timeOffset;
}
}
}