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)
     });
 }
示例#2
0
        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());
        }
示例#3
0
 private void Dispose(bool disposing)
 {
     if (_disposed)
     {
         return;
     }
     if (!disposing)
     {
         return;
     }
     _eventer.Report(GetEvent());
     _disposed = true;
 }