Rhino.Ast.FunctionNode.SetParams C# (CSharp) 메소드

SetParams() 공개 메소드

Sets the function parameter list, and sets the parent for each element of the list.
Sets the function parameter list, and sets the parent for each element of the list.
public SetParams ( IList @params ) : void
@params IList
리턴 void
		public virtual void SetParams(IList<AstNode> @params)
		{
			if (@params == null)
			{
				this.@params = null;
			}
			else
			{
				if (this.@params != null)
				{
					[email protected]();
				}
				foreach (AstNode param in @params)
				{
					AddParam(param);
				}
			}
		}