PyriteCore.ScenarioCreation.IfAction.RemoveAction C# (CSharp) Метод

RemoveAction() публичный Метод

public RemoveAction ( Type actionType ) : bool
actionType System.Type
Результат bool
        public bool RemoveAction(Type actionType)
        {
            var result = false;

            if (ActionIf != null && ActionIf is IHasCheckerAction)
                if (((IHasCheckerAction)ActionIf).RemoveAction(actionType))
                    result = true;

            if (ActionElse != null && ActionElse is IHasCheckerAction)
                if (((IHasCheckerAction)ActionElse).RemoveAction(actionType))
                    result = true;

            return result;
        }