System.Xml.Xsl.XsltOld.ActionFrame.SetParameter C# (CSharp) Method

SetParameter() private method

private SetParameter ( XmlQualifiedName name, object value ) : void
name System.Xml.XmlQualifiedName
value object
return void
        internal void SetParameter(XmlQualifiedName name, object value) {
            if (this.withParams == null) {
                this.withParams = new Hashtable();
            }
            Debug.Assert(! this.withParams.Contains(name), "We should check duplicate params at compile time");
            this.withParams[name] = value;
        }

Usage Example

Ejemplo n.º 1
0
        internal void SetParameter(XmlQualifiedName name, object value)
        {
            Debug.Assert(1 < actionStack.Length);
            ActionFrame parentFrame = (ActionFrame)this.actionStack[actionStack.Length - 2];

            parentFrame.SetParameter(name, value);
        }