protected virtual void OnTriggerActivated(object sender, object arg)
 {
     if (_triggerActivated != null)
     {
         var e = TempEventArgs.Create(arg);
         var d = _triggerActivated;
         d(sender, e);
         TempEventArgs.Release(e);
     }
 }
        protected void OnSensedAspect(IAspect aspect)
        {
            var d = this.SensedAspect;

            if (d != null)
            {
                var ev = TempEventArgs.Create(aspect);
                d(this, ev);
                TempEventArgs.Release(ev);
            }
        }
        protected virtual void OnTriggerActivated(object arg)
        {
            if (TriggerActivated != null)
            {
                var e = TempEventArgs.Create(arg);
                TriggerActivated(this, e);
                TempEventArgs.Release(e);
            }

            //if(_owner != null)
            //{
            //    _owner.PostNotification<TriggerActivatedNotification>(new TriggerActivatedNotification(_owner, _id), false);
            //}
        }