private void ProfileRemoved(object sender, ProfileRemovedEventArgs e)
 {
     if (sender == null)
     {
         throw new ArgumentNullException("sender");
     }
     if (null == e.WorkflowType)
     {
         throw new ArgumentNullException("e");
     }
     this.RemoveProfile(e.WorkflowType, sender.GetType());
 }
Пример #2
0
        /// <summary>
        /// Raise a profile removed event.
        /// </summary>
        protected void OnProfileRemoved(ProfileRemovedEventArgs e)
        {
            TraceHelper.Trace();

            if (profileRemoved != null)
                profileRemoved(this, e);
        }