示例#1
0
        public XmlAttributeState(
            XmlNameState nameState,
            XmlDoubleQuotedAttributeValueState doubleQuotedAttributeValueState,
            XmlSingleQuotedAttributeValueState singleQuotedAttributeValueState,
            XmlUnquotedAttributeValueState unquotedAttributeValueState,
            XmlMalformedTagState malformedTagState)
        {
            this.XmlNameState = nameState;
            this.DoubleQuotedAttributeValueState = doubleQuotedAttributeValueState;
            this.SingleQuotedAttributeValueState = singleQuotedAttributeValueState;
            this.UnquotedAttributeValueState     = unquotedAttributeValueState;
            this.MalformedTagState = malformedTagState;

            Adopt(this.XmlNameState);
            Adopt(this.DoubleQuotedAttributeValueState);
            Adopt(this.SingleQuotedAttributeValueState);
            Adopt(this.UnquotedAttributeValueState);
            Adopt(this.MalformedTagState);
        }
		public XmlAttributeState (
			XmlNameState nameState,
			XmlDoubleQuotedAttributeValueState doubleQuotedAttributeValueState,
			XmlSingleQuotedAttributeValueState singleQuotedAttributeValueState,
			XmlUnquotedAttributeValueState unquotedAttributeValueState,
			XmlMalformedTagState malformedTagState)
		{
			this.XmlNameState = nameState;
			this.DoubleQuotedAttributeValueState = doubleQuotedAttributeValueState;
			this.SingleQuotedAttributeValueState = singleQuotedAttributeValueState;
			this.UnquotedAttributeValueState = unquotedAttributeValueState;
			this.MalformedTagState = malformedTagState;
			
			Adopt (this.XmlNameState);
			Adopt (this.DoubleQuotedAttributeValueState);
			Adopt (this.SingleQuotedAttributeValueState);
			Adopt (this.UnquotedAttributeValueState);
			Adopt (this.MalformedTagState);
		}