Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlSchemaComplexContent.cs
- EmbeddedMailObject.cs
- TokenizerHelper.cs
- ContainerUIElement3D.cs
- PerfCounters.cs
- RepeaterItemEventArgs.cs
- SafeTokenHandle.cs
- DurableRuntimeValidator.cs
- XPathBinder.cs
- SystemEvents.cs
- GetCryptoTransformRequest.cs
- SelectingProviderEventArgs.cs
- XMLDiffLoader.cs
- ErrorHandler.cs
- XsdDateTime.cs
- PassportAuthenticationModule.cs
- ConsoleKeyInfo.cs
- TreeViewItemAutomationPeer.cs
- EdmTypeAttribute.cs
- TextBoxAutoCompleteSourceConverter.cs
- LinqDataSourceSelectEventArgs.cs
- TileModeValidation.cs
- LineServicesRun.cs
- FolderBrowserDialog.cs
- PointCollectionConverter.cs
- DesignerResources.cs
- Pair.cs
- IgnorePropertiesAttribute.cs
- CodeTypeConstructor.cs
- CodeArgumentReferenceExpression.cs
- HttpCapabilitiesSectionHandler.cs
- MDIClient.cs
- ViewGenerator.cs
- XsdDuration.cs
- ChannelBase.cs
- UpdateProgress.cs
- TransactionContextValidator.cs
- DataGridViewIntLinkedList.cs
- PeerUnsafeNativeCryptMethods.cs
- _ProxyRegBlob.cs
- StatusBarDrawItemEvent.cs
- ProbeMatchesApril2005.cs
- NavigationService.cs
- EditingCommands.cs
- SuppressedPackageProperties.cs
- CodeDefaultValueExpression.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- IndicCharClassifier.cs
- LayoutExceptionEventArgs.cs
- GiveFeedbackEventArgs.cs
- ResourceDisplayNameAttribute.cs
- HtmlFormAdapter.cs
- ExpiredSecurityTokenException.cs
- DataException.cs
- SyndicationFeedFormatter.cs
- ScalarConstant.cs
- InputLanguageProfileNotifySink.cs
- ZipFileInfo.cs
- FrameworkTemplate.cs
- CustomAttribute.cs
- XamlRtfConverter.cs
- MenuItemStyle.cs
- XmlSchemaException.cs
- UniqueIdentifierService.cs
- TypedDataSourceCodeGenerator.cs
- DataTableExtensions.cs
- InstanceDataCollection.cs
- MessageEventSubscriptionService.cs
- SizeAnimationClockResource.cs
- IISUnsafeMethods.cs
- EntityTypeEmitter.cs
- TreeNodeStyleCollection.cs
- SingleAnimationBase.cs
- PtsHelper.cs
- Simplifier.cs
- TextTreeUndo.cs
- LineVisual.cs
- HTMLTextWriter.cs
- ToolStripOverflow.cs
- OracleSqlParser.cs
- DataTableClearEvent.cs
- TableColumn.cs
- MemoryStream.cs
- EditorZoneAutoFormat.cs
- EventArgs.cs
- SystemPens.cs
- Bitmap.cs
- CopyAttributesAction.cs
- XmlSignificantWhitespace.cs
- TreeChangeInfo.cs
- MouseBinding.cs
- ObjectDataSourceStatusEventArgs.cs
- SafeSystemMetrics.cs
- BooleanSwitch.cs
- BindingList.cs
- ErasingStroke.cs
- DefaultIfEmptyQueryOperator.cs
- XmlSchemaAnyAttribute.cs
- PrintDocument.cs
- SamlAction.cs