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
- DateTimeSerializationSection.cs
- HotSpotCollection.cs
- XmlNode.cs
- OrderedHashRepartitionEnumerator.cs
- PrimarySelectionGlyph.cs
- CompilationLock.cs
- WinInetCache.cs
- ValidationSummary.cs
- BinaryCommonClasses.cs
- HttpListenerResponse.cs
- ObjectManager.cs
- CallId.cs
- ShutDownListener.cs
- _UncName.cs
- SimplePropertyEntry.cs
- TextBoxDesigner.cs
- RowToFieldTransformer.cs
- BitmapEffectGeneralTransform.cs
- LinkLabel.cs
- InfiniteTimeSpanConverter.cs
- ExtendedPropertyCollection.cs
- PagesChangedEventArgs.cs
- ConnectionPointCookie.cs
- DataGridViewRowPrePaintEventArgs.cs
- MetadataItemSerializer.cs
- sqlmetadatafactory.cs
- SoapTransportImporter.cs
- DesignTimeTemplateParser.cs
- DataGridViewCellValidatingEventArgs.cs
- ObjectDataSourceView.cs
- EntitySet.cs
- Int16AnimationBase.cs
- GorillaCodec.cs
- HostingEnvironment.cs
- NamespaceTable.cs
- Size3DValueSerializer.cs
- Dictionary.cs
- HttpBrowserCapabilitiesBase.cs
- GeometryDrawing.cs
- WindowsGraphics2.cs
- Model3DGroup.cs
- GeneralTransform2DTo3DTo2D.cs
- EdmTypeAttribute.cs
- RuntimeConfigurationRecord.cs
- DeflateStream.cs
- TypeBrowserDialog.cs
- AccessDataSource.cs
- ScaleTransform3D.cs
- StandardCommands.cs
- EncodingDataItem.cs
- InternalDispatchObject.cs
- ListView.cs
- Label.cs
- GlobalAclOperationRequirement.cs
- TryCatch.cs
- FileSystemEventArgs.cs
- XmlSchemaChoice.cs
- UniqueIdentifierService.cs
- ResourceKey.cs
- DataDesignUtil.cs
- RuntimeDelegateArgument.cs
- UrlParameterWriter.cs
- SecureConversationServiceCredential.cs
- BufferedGraphicsContext.cs
- FilterException.cs
- TextParagraphProperties.cs
- DesignerVerb.cs
- TreeViewItem.cs
- ProtectedConfigurationSection.cs
- HttpRuntime.cs
- validation.cs
- VariableQuery.cs
- WebPartActionVerb.cs
- TextProviderWrapper.cs
- TextBreakpoint.cs
- CancellationTokenSource.cs
- ConnectionManagementElementCollection.cs
- Bits.cs
- Journal.cs
- DrawingState.cs
- OrderedDictionary.cs
- ListenerElementsCollection.cs
- InkPresenterAutomationPeer.cs
- XmlUtil.cs
- HostingPreferredMapPath.cs
- DelegateHelpers.cs
- AssemblyName.cs
- XmlSchemaAttributeGroup.cs
- SqlRecordBuffer.cs
- NameValueCollection.cs
- AttributeEmitter.cs
- ColumnResizeUndoUnit.cs
- SolidBrush.cs
- SID.cs
- TagElement.cs
- PanelDesigner.cs
- WebPartCatalogAddVerb.cs
- StackBuilderSink.cs
- TableRowCollection.cs
- WebPartEditorCancelVerb.cs