Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / StringOutput.cs / 1305376 / 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
- DataObject.cs
- BinarySecretKeyIdentifierClause.cs
- EditCommandColumn.cs
- XmlSecureResolver.cs
- SqlDataSource.cs
- LinearGradientBrush.cs
- CustomError.cs
- GeneralTransformGroup.cs
- RunClient.cs
- HttpModule.cs
- CommonProperties.cs
- XmlReflectionMember.cs
- MultipleViewProviderWrapper.cs
- HyperLinkColumn.cs
- StylusPointProperty.cs
- XmlSchemaAll.cs
- SimplePropertyEntry.cs
- StringUtil.cs
- _LoggingObject.cs
- BuildProvider.cs
- UpDownBase.cs
- ToolStripItemEventArgs.cs
- TabPage.cs
- Calendar.cs
- TypeUtil.cs
- SystemResourceKey.cs
- SystemColorTracker.cs
- HandleCollector.cs
- SecurityManager.cs
- ResourceDefaultValueAttribute.cs
- IndentTextWriter.cs
- NotFiniteNumberException.cs
- ThreadExceptionEvent.cs
- ConnectionInterfaceCollection.cs
- EnterpriseServicesHelper.cs
- RowToParametersTransformer.cs
- HtmlImage.cs
- TraceHandlerErrorFormatter.cs
- ZipIOLocalFileHeader.cs
- X509Utils.cs
- __Error.cs
- ChannelReliableSession.cs
- EncoderFallback.cs
- Stack.cs
- WindowsClaimSet.cs
- PopupEventArgs.cs
- TextWriter.cs
- TCPClient.cs
- DragStartedEventArgs.cs
- HiddenField.cs
- EntryPointNotFoundException.cs
- XPathSelfQuery.cs
- SqlDataSourceCache.cs
- LambdaCompiler.Logical.cs
- XmlnsCompatibleWithAttribute.cs
- WebPartManagerInternals.cs
- _ConnectStream.cs
- SchemaDeclBase.cs
- IndentedTextWriter.cs
- IndependentAnimationStorage.cs
- Point3DAnimation.cs
- RsaSecurityKey.cs
- OleDbReferenceCollection.cs
- NameValueSectionHandler.cs
- JavaScriptString.cs
- NonSerializedAttribute.cs
- BevelBitmapEffect.cs
- versioninfo.cs
- TabItem.cs
- SelectionWordBreaker.cs
- StringConverter.cs
- Grid.cs
- CommentGlyph.cs
- ExceptionUtil.cs
- MdImport.cs
- SoapTransportImporter.cs
- SmiMetaDataProperty.cs
- TreeIterators.cs
- SimpleWorkerRequest.cs
- KeyProperty.cs
- TextControl.cs
- DateTimeUtil.cs
- DataGridViewCellStateChangedEventArgs.cs
- CodeTypeParameterCollection.cs
- TaiwanCalendar.cs
- TextContainerHelper.cs
- RenameRuleObjectDialog.Designer.cs
- WebPartConnectionsConfigureVerb.cs
- AliasExpr.cs
- __FastResourceComparer.cs
- ForwardPositionQuery.cs
- KeyInterop.cs
- Errors.cs
- IisTraceListener.cs
- Screen.cs
- MarkupProperty.cs
- MachineSettingsSection.cs
- ReadContentAsBinaryHelper.cs
- OpCodes.cs
- BitmapSizeOptions.cs