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
- DbgUtil.cs
- SqlDuplicator.cs
- cookie.cs
- ISessionStateStore.cs
- XXXInfos.cs
- ProvideValueServiceProvider.cs
- TextViewBase.cs
- LinkConverter.cs
- AsyncPostBackErrorEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- PropertyStore.cs
- ServiceOperation.cs
- MarginCollapsingState.cs
- EntityRecordInfo.cs
- SmtpReplyReaderFactory.cs
- BitStack.cs
- ServiceObjectContainer.cs
- MimeBasePart.cs
- LinearGradientBrush.cs
- Boolean.cs
- StylusPoint.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ThreadAbortException.cs
- PropertyRef.cs
- XmlQualifiedName.cs
- FullTrustAssembly.cs
- PolyLineSegment.cs
- CustomTypeDescriptor.cs
- TableCellAutomationPeer.cs
- ping.cs
- Message.cs
- Pen.cs
- RemotingConfigParser.cs
- WindowsTitleBar.cs
- EnvironmentPermission.cs
- TraceSection.cs
- MetaType.cs
- FontWeight.cs
- SchemaTableColumn.cs
- HtmlHistory.cs
- ColumnClickEvent.cs
- EmbossBitmapEffect.cs
- UpdatePanelTriggerCollection.cs
- NavigatingCancelEventArgs.cs
- BoundColumn.cs
- UserControlAutomationPeer.cs
- SessionParameter.cs
- InfoCardCryptoHelper.cs
- TableLayoutPanel.cs
- ExpressionBuilderCollection.cs
- PrintPreviewControl.cs
- HelpKeywordAttribute.cs
- NullEntityWrapper.cs
- OperationContractAttribute.cs
- ApplicationInfo.cs
- ServiceOperationWrapper.cs
- ServerProtocol.cs
- FramingEncoders.cs
- MyContact.cs
- FtpWebResponse.cs
- RowUpdatedEventArgs.cs
- ErasingStroke.cs
- SettingsAttributeDictionary.cs
- SecurityManager.cs
- DesignerCategoryAttribute.cs
- CacheSection.cs
- CodeConditionStatement.cs
- LexicalChunk.cs
- ExtenderProvidedPropertyAttribute.cs
- ChannelFactory.cs
- Merger.cs
- VolatileResourceManager.cs
- SignHashRequest.cs
- DbConnectionHelper.cs
- DataSourceControl.cs
- ObjectDataSourceMethodEventArgs.cs
- XmlUrlResolver.cs
- PeerTransportListenAddressValidator.cs
- GlobalizationSection.cs
- RemoteWebConfigurationHostServer.cs
- RemotingSurrogateSelector.cs
- ToolboxDataAttribute.cs
- ValueHandle.cs
- GcHandle.cs
- WmpBitmapEncoder.cs
- SuppressMergeCheckAttribute.cs
- LongAverageAggregationOperator.cs
- TextAnchor.cs
- UdpReplyToBehavior.cs
- TdsParserStaticMethods.cs
- WindowsListViewItemStartMenu.cs
- CodeEntryPointMethod.cs
- ConfigurationValues.cs
- MatrixValueSerializer.cs
- ImageSourceValueSerializer.cs
- ConnectionPoint.cs
- FastPropertyAccessor.cs
- Point3DKeyFrameCollection.cs
- TrackBar.cs
- DiscardableAttribute.cs