Exemple #1
0
        /// <exception cref="BadSyntaxException">
        /// The name does not fit to the syntax.
        /// </exception>
        /// <exception cref="ReservedNameException">
        /// The parameter name is already exists.
        /// </exception>
        public Parameter ModifyParameter(Parameter parameter, string declaration)
        {
            Parameter modified = argumentList.ModifyParameter(parameter, declaration);

            Changed();
            return(modified);
        }
Exemple #2
0
        /// <exception cref="BadSyntaxException">
        /// The name does not fit to the syntax.
        /// </exception>
        /// <exception cref="ReservedNameException">
        /// The parameter name is already exists.
        /// </exception>
        public Parameter ModifyParameter(Parameter parameter, string declaration)
        {
            OnBeginUndoableOperation();
            Parameter modified = _argumentList.ModifyParameter(parameter, declaration);

            Changed();

            return(modified);
        }