示例#1
0
 public EtwActivityReverterMethodInvoker(IEtwEventCorrelator eventCorrelator)
 {
     if (eventCorrelator == null)
     {
         throw new ArgumentNullException("eventCorrelator");
     }
     this._eventCorrelator = eventCorrelator;
     this._invoker         = new Func <Guid, Delegate, object[], object>(this.DoInvoke);
 }
 public EtwActivityReverterMethodInvoker(IEtwEventCorrelator eventCorrelator)
 {
     if (eventCorrelator == null)
     {
         throw new ArgumentNullException("eventCorrelator");
     }
     this._eventCorrelator = eventCorrelator;
     this._invoker = new Func<Guid, Delegate, object[], object>(this.DoInvoke);
 }
        public EtwActivityReverterMethodInvoker(IEtwEventCorrelator eventCorrelator)
        {
            if (eventCorrelator == null)
            {
                throw new ArgumentNullException("eventCorrelator");
            }

            _eventCorrelator = eventCorrelator;
            _invoker         = DoInvoke;
        }
        public EtwActivityReverterMethodInvoker(IEtwEventCorrelator eventCorrelator)
        {
            if (eventCorrelator == null)
            {
                throw new ArgumentNullException("eventCorrelator");
            }

            _eventCorrelator = eventCorrelator;
            _invoker = DoInvoke;
        }
示例#5
0
 public EtwActivity(IEtwEventCorrelator correlator)
 {
     if (correlator != null)
     {
         this._correlator    = correlator;
         this._oldActivityId = correlator.CurrentActivityId;
         return;
     }
     else
     {
         throw new ArgumentNullException("correlator");
     }
 }
示例#6
0
		public EtwActivity(IEtwEventCorrelator correlator)
		{
			if (correlator != null)
			{
				this._correlator = correlator;
				this._oldActivityId = correlator.CurrentActivityId;
				return;
			}
			else
			{
				throw new ArgumentNullException("correlator");
			}
		}
示例#7
0
 public EtwActivityReverter(IEtwEventCorrelator correlator, Guid oldActivityId)
 {
     this._correlator = correlator;
     this._oldActivityId = oldActivityId;
 }
示例#8
0
 public EtwActivityReverter(IEtwEventCorrelator correlator, Guid oldActivityId)
 {
     _correlator    = correlator;
     _oldActivityId = oldActivityId;
 }