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
- SafeNativeMethods.cs
- StateRuntime.cs
- ComponentConverter.cs
- CallSiteOps.cs
- IpcChannelHelper.cs
- Lease.cs
- ManualResetEvent.cs
- SignatureHelper.cs
- StateManagedCollection.cs
- AsnEncodedData.cs
- ProxySimple.cs
- HwndHostAutomationPeer.cs
- UnsafeNetInfoNativeMethods.cs
- DynamicQueryableWrapper.cs
- QueryComponents.cs
- OdbcConnectionStringbuilder.cs
- PolyLineSegment.cs
- EnumBuilder.cs
- Char.cs
- AlternateView.cs
- TextCharacters.cs
- ObjectResult.cs
- FunctionNode.cs
- Splitter.cs
- ReadOnlyDataSource.cs
- DateTimeConstantAttribute.cs
- TreeViewBindingsEditorForm.cs
- ScriptResourceDefinition.cs
- ContentType.cs
- SynchronizationScope.cs
- SystemDropShadowChrome.cs
- TypeUtil.cs
- BooleanConverter.cs
- DesignerWithHeader.cs
- ITreeGenerator.cs
- DispatcherHookEventArgs.cs
- IndexedString.cs
- ThreadAbortException.cs
- XslCompiledTransform.cs
- BooleanConverter.cs
- Subtree.cs
- GridViewDeleteEventArgs.cs
- SelectionRangeConverter.cs
- SoapObjectInfo.cs
- PngBitmapEncoder.cs
- StringConverter.cs
- processwaithandle.cs
- DbBuffer.cs
- DataObjectSettingDataEventArgs.cs
- FlowDocumentPaginator.cs
- ConstructorNeedsTagAttribute.cs
- MergeFilterQuery.cs
- ListViewCommandEventArgs.cs
- HtmlInputReset.cs
- XmlArrayItemAttributes.cs
- PackageStore.cs
- Faults.cs
- OdbcPermission.cs
- TextBoxDesigner.cs
- ClientSettings.cs
- CaseStatement.cs
- FastEncoderWindow.cs
- FusionWrap.cs
- PageHandlerFactory.cs
- ServiceHttpHandlerFactory.cs
- diagnosticsswitches.cs
- NetworkAddressChange.cs
- isolationinterop.cs
- ReservationNotFoundException.cs
- SupportsEventValidationAttribute.cs
- TreeNodeMouseHoverEvent.cs
- SystemMulticastIPAddressInformation.cs
- __ComObject.cs
- IteratorDescriptor.cs
- EntityDataSourceDesignerHelper.cs
- VoiceChangeEventArgs.cs
- BrowserTree.cs
- BaseServiceProvider.cs
- invalidudtexception.cs
- DataContext.cs
- RoleManagerModule.cs
- CodeExporter.cs
- VirtualizingPanel.cs
- DocobjHost.cs
- WindowsGraphicsWrapper.cs
- NameValueFileSectionHandler.cs
- CompareInfo.cs
- ListViewItemSelectionChangedEvent.cs
- ProjectionCamera.cs
- InputGestureCollection.cs
- SQLMembershipProvider.cs
- NamespaceEmitter.cs
- ScriptReferenceEventArgs.cs
- SignatureHelper.cs
- Control.cs
- DownloadProgressEventArgs.cs
- ProcessInputEventArgs.cs
- FixedTextView.cs
- AnimationTimeline.cs
- TargetConverter.cs