public static void Info(this IEventer eventer, int partialId, string message, params object[] args) { eventer.Report(new Event(partialId, eventer.Source) { Message = new TemplatedString(message, args) }); }
public Scope(IEventer eventer, int partialId, string source, Guid scope, string template, object[] args) { _eventer = eventer; _partialId = partialId; _source = source; _scope = scope; _template = template; _args = args; _eventer.Report(GetEvent()); }
private void Dispose(bool disposing) { if (_disposed) { return; } if (!disposing) { return; } _eventer.Report(GetEvent()); _disposed = true; }