Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / StringOutput.cs / 1 / StringOutput.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Xml; using System.Text; internal class StringOutput : SequentialOutput { private StringBuilder builder; private string result; internal string Result { get { return this.result; } } internal StringOutput(Processor processor) : base(processor) { this.builder = new StringBuilder(); } internal override void Write(char outputChar) { this.builder.Append(outputChar); #if DEBUG this.result = this.builder.ToString(); #endif } internal override void Write(string outputText) { this.builder.Append(outputText); #if DEBUG this.result = this.builder.ToString(); #endif } internal override void Close() { this.result = this.builder.ToString(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Xml; using System.Text; internal class StringOutput : SequentialOutput { private StringBuilder builder; private string result; internal string Result { get { return this.result; } } internal StringOutput(Processor processor) : base(processor) { this.builder = new StringBuilder(); } internal override void Write(char outputChar) { this.builder.Append(outputChar); #if DEBUG this.result = this.builder.ToString(); #endif } internal override void Write(string outputText) { this.builder.Append(outputText); #if DEBUG this.result = this.builder.ToString(); #endif } internal override void Close() { this.result = this.builder.ToString(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormatStringEditor.cs
- XmlAttributeCache.cs
- TextEvent.cs
- QueryExpression.cs
- PrintDialog.cs
- HttpClientChannel.cs
- FloatSumAggregationOperator.cs
- RawAppCommandInputReport.cs
- TaskCanceledException.cs
- XmlSchemaSimpleContentExtension.cs
- XmlIlVisitor.cs
- EntityCommandCompilationException.cs
- ToolboxBitmapAttribute.cs
- TableHeaderCell.cs
- HwndStylusInputProvider.cs
- Enumerable.cs
- DBParameter.cs
- SectionVisual.cs
- SqlUserDefinedTypeAttribute.cs
- AsyncPostBackTrigger.cs
- ExpressionVisitor.cs
- ReadWriteObjectLock.cs
- ContextProperty.cs
- Quad.cs
- WinHttpWebProxyFinder.cs
- GregorianCalendarHelper.cs
- RawStylusInputReport.cs
- TemplateKeyConverter.cs
- FileVersion.cs
- BitArray.cs
- MimeTypeMapper.cs
- HttpValueCollection.cs
- DoubleLinkList.cs
- BitConverter.cs
- XLinq.cs
- RegionData.cs
- PluralizationService.cs
- WebPartConnectionsConnectVerb.cs
- SignedXml.cs
- ValidationErrorCollection.cs
- DynamicPropertyReader.cs
- JsonGlobals.cs
- QueryException.cs
- AutomationAttributeInfo.cs
- SerialPort.cs
- ReservationCollection.cs
- ServiceChannelFactory.cs
- Substitution.cs
- DATA_BLOB.cs
- DirtyTextRange.cs
- ServiceObjectContainer.cs
- BamlRecordWriter.cs
- WebBrowserNavigatedEventHandler.cs
- OdbcParameter.cs
- EntityConnectionStringBuilderItem.cs
- WindowAutomationPeer.cs
- EntityDataSourceStatementEditor.cs
- RegexWorker.cs
- WSSecurityXXX2005.cs
- TextRange.cs
- RegexFCD.cs
- SessionEndingEventArgs.cs
- SurrogateSelector.cs
- CompiledIdentityConstraint.cs
- ChtmlLinkAdapter.cs
- GeneralTransform2DTo3DTo2D.cs
- ChangeNode.cs
- InheritanceRules.cs
- DataSvcMapFileSerializer.cs
- XmlSigningNodeWriter.cs
- XPathDocument.cs
- HtmlSelectionListAdapter.cs
- PreviewKeyDownEventArgs.cs
- XmlAnyElementAttributes.cs
- AutoResizedEvent.cs
- ElementProxy.cs
- EnvironmentPermission.cs
- XamlSerializationHelper.cs
- XmlTextEncoder.cs
- CodeStatementCollection.cs
- SamlSerializer.cs
- TextSelectionProcessor.cs
- XslUrlEditor.cs
- WebSysDescriptionAttribute.cs
- Int32Collection.cs
- SizeConverter.cs
- NetTcpSection.cs
- LogLogRecord.cs
- CodeVariableReferenceExpression.cs
- DrawToolTipEventArgs.cs
- MissingManifestResourceException.cs
- DocumentViewerAutomationPeer.cs
- WebBrowserBase.cs
- EmbeddedMailObjectsCollection.cs
- ClientConvert.cs
- RawStylusInputReport.cs
- BufferedWebEventProvider.cs
- ListViewCommandEventArgs.cs
- StorageMappingItemLoader.cs
- EntityCommand.cs