##// END OF EJS Templates
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()'...
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()' added Safe.Dispose(IEnumerable) added PromiseExtensions.CancellationPoint to add a cancellation point to the chain of promises added IPromise<T> PromiseExtensions.Then<T>(this IPromise<T> that, Action<T> success) overloads added PromiseExtensions.Error() overloads to handle a error or(and) a cancellation

File last commit:

r194:d45bdf510514 v2
r207:558f34b2fb50 v2
Show More
LogEventArgs.cs
29 lines | 716 B | text/x-csharp | CSharpLexer
using System;
namespace Implab.Diagnostics {
public class LogEventArgs : EventArgs {
public object Channel {
get;
private set;
}
public int ThreadId {
get;
private set;
}
public LogicalOperation Operation {
get;
private set;
}
public int OperationTimeOffset {
get;
private set;
}
public LogEventArgs(object channel, int threadId, LogicalOperation operation, int timeOffset) {
Channel = channel;
ThreadId = threadId;
Operation = operation;
OperationTimeOffset = timeOffset;
}
}
}