Пример #1
0
        object IAction.ControlAction(ICore sender, AtomusControlArgs e)
        {
            try
            {
                this.beforeActionEventHandler?.Invoke(this, e);

                switch (e.Action)
                {
                default:
                    userControl.ControlAction(sender, e);
                    //throw new AtomusException("'{0}'은 처리할 수 없는 Action 입니다.".Translate(e.Action));

                    break;
                }

                return(null);
            }
            finally
            {
                if (!new string[] { "Join.ClearPassword" }.Contains(e.Action))
                {
                    this.afterActionEventHandler?.Invoke(this, e);
                }
            }
        }