Beispiel #1
0
        protected virtual void OnInvokeCommand(InvokeCommandArgs e)
        {
            if (InvokeCommand != null)
            {
                //InvokeCommand(Sender, e);
                foreach (CommandHandler item in InvokeCommand.GetInvocationList())
                {
                    item(this, e);

                    if (e.IsBreak)
                    {
                        return;
                    }
                }
            }
        }