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
- safesecurityhelperavalon.cs
- ButtonChrome.cs
- ArraySet.cs
- OrderedDictionary.cs
- StylusEventArgs.cs
- WindowsListViewScroll.cs
- CheckBoxFlatAdapter.cs
- ActiveDocumentEvent.cs
- AssemblyAttributesGoHere.cs
- XmlRawWriter.cs
- DataServiceHostFactory.cs
- BufferedOutputStream.cs
- CredentialCache.cs
- DynamicControl.cs
- HwndSource.cs
- Rotation3DAnimationBase.cs
- PolicyUnit.cs
- CrossSiteScriptingValidation.cs
- DiscoveryClientOutputChannel.cs
- linebase.cs
- VirtualizedItemProviderWrapper.cs
- ReadOnlyDataSourceView.cs
- NonNullItemCollection.cs
- IPPacketInformation.cs
- DetailsViewCommandEventArgs.cs
- CodeAccessSecurityEngine.cs
- TreeViewBindingsEditor.cs
- AuthenticationServiceManager.cs
- BufferedStream.cs
- XhtmlBasicPageAdapter.cs
- PhysicalOps.cs
- DataReceivedEventArgs.cs
- IndexOutOfRangeException.cs
- XmlDataSourceView.cs
- HtmlLiteralTextAdapter.cs
- MenuCommand.cs
- NullableLongMinMaxAggregationOperator.cs
- XamlToRtfParser.cs
- BindingCollection.cs
- RecipientInfo.cs
- Messages.cs
- AdornerDecorator.cs
- OleDbInfoMessageEvent.cs
- RemotingService.cs
- TogglePattern.cs
- DbParameterHelper.cs
- SQLBytes.cs
- SchemaImporter.cs
- WebPartAddingEventArgs.cs
- ToolStripArrowRenderEventArgs.cs
- ConsoleTraceListener.cs
- ScriptReferenceBase.cs
- CopyOfAction.cs
- DataTableClearEvent.cs
- ConfigUtil.cs
- ListSortDescription.cs
- KeyGesture.cs
- RuleSetDialog.cs
- WebPartZoneBaseDesigner.cs
- WeakHashtable.cs
- OleDbDataReader.cs
- WorkflowApplication.cs
- QilGenerator.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- _PooledStream.cs
- CultureMapper.cs
- DataRowChangeEvent.cs
- _ProxyRegBlob.cs
- SecurityManager.cs
- AggregatePushdown.cs
- SHA1.cs
- SqlResolver.cs
- XmlTextReaderImpl.cs
- SqlProvider.cs
- AdRotator.cs
- _TransmitFileOverlappedAsyncResult.cs
- DictionaryTraceRecord.cs
- ProcessHostMapPath.cs
- TransactionBridge.cs
- DynamicRenderer.cs
- DataServicePagingProviderWrapper.cs
- isolationinterop.cs
- ParameterReplacerVisitor.cs
- SapiRecognizer.cs
- InputScopeNameConverter.cs
- TableAutomationPeer.cs
- DefaultParameterValueAttribute.cs
- DataServiceEntityAttribute.cs
- PtsHelper.cs
- PropertyInfoSet.cs
- SqlDataSourceSummaryPanel.cs
- AssignDesigner.xaml.cs
- SourceElementsCollection.cs
- TrimSurroundingWhitespaceAttribute.cs
- COM2TypeInfoProcessor.cs
- ConnectionProviderAttribute.cs
- EmbeddedMailObjectCollectionEditor.cs
- HttpGetServerProtocol.cs
- ExpandableObjectConverter.cs
- SignatureToken.cs