示例#1
0
        public AspNetFreeState(
            HtmlTagState tagState,
            HtmlClosingTagState closingTagState,
            XmlCommentState commentState,
            XmlCDataState cDataState,
            XmlDocTypeState docTypeState,
            XmlProcessingInstructionState processingInstructionState,
            AspNetExpressionState expressionState,
            AspNetDirectiveState directiveState,
            AspNetServerCommentState serverCommentState
            )
            : base(tagState, closingTagState, commentState, cDataState, docTypeState, processingInstructionState)
        {
            this.expressionState    = expressionState;
            this.directiveState     = directiveState;
            this.serverCommentState = serverCommentState;

            Adopt(this.ExpressionState);
            Adopt(this.DirectiveState);
            Adopt(this.ServerCommentState);
        }
		public AspNetFreeState (
			HtmlTagState tagState,
			HtmlClosingTagState closingTagState,
			XmlCommentState commentState,
			XmlCDataState cDataState,
			XmlDocTypeState docTypeState,
		        XmlProcessingInstructionState processingInstructionState,
			AspNetExpressionState expressionState,
			AspNetDirectiveState directiveState,
			AspNetServerCommentState serverCommentState
			)
			: base (tagState, closingTagState, commentState, cDataState, docTypeState, processingInstructionState)
		{
			this.expressionState = expressionState;
			this.directiveState = directiveState;
			this.serverCommentState = serverCommentState;
			
			Adopt (this.ExpressionState);
			Adopt (this.DirectiveState);
			Adopt (this.ServerCommentState);
		}