Exemplo n.º 1
0
 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)
     });
 }
Exemplo n.º 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());
        }
Exemplo n.º 3
0
 private void Dispose(bool disposing)
 {
     if (_disposed)
     {
         return;
     }
     if (!disposing)
     {
         return;
     }
     _eventer.Report(GetEvent());
     _disposed = true;
 }