Esempio n. 1
0
        public override void OnStop()
        {
            base.OnStop();

            if (!isFinish)                         //Перезапуск взаимодействия при необходимости.
            {
                DelegateWithParameters dlgtStart = //Создаем делегат.
                                                   new DelegateWithParameters(
                    EProjectManager.GetInstance().StartEditModesWithDelay);

                dlgtStart.BeginInvoke(300, null, null);
            }
        }
 public ClassDependingOnDelegateWithParameters(DelegateWithParameters dependency)
 {
 }
 public DelegateInvoker(DelegateWithParameters method)
 {
     this.method = method ?? throw new ArgumentNullException(nameof(method));
 }