ANHAdmin.AsyncOperation.FireAsync C# (CSharp) Method

FireAsync() protected method

Utility function for firing an event through the target. It uses C#'s variable length parameter list support to build the parameter list. This functions presumes that the caller holds the object lock. (This is because the event list is typically modified on the UI thread, but events are usually raised on the worker thread.)
protected FireAsync ( Delegate dlg ) : void
dlg System.Delegate
return void
        protected void FireAsync(Delegate dlg, params object[] pList)
        {
            if (dlg != null)
            {
                Target.BeginInvoke(dlg, pList);
            }
        }