Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- LinqExpressionNormalizer.cs
- CmsUtils.cs
- HTMLTextWriter.cs
- Stack.cs
- WebChannelFactory.cs
- GroupByQueryOperator.cs
- CodeTypeConstructor.cs
- DesignerForm.cs
- StrongName.cs
- WeakKeyDictionary.cs
- ListViewHitTestInfo.cs
- SpeechAudioFormatInfo.cs
- UpdateProgress.cs
- FontStretches.cs
- ConsoleKeyInfo.cs
- SiteOfOriginContainer.cs
- MailFileEditor.cs
- HttpChannelHelpers.cs
- SHA1Managed.cs
- SelectionProcessor.cs
- DefaultTextStore.cs
- IssuanceLicense.cs
- PersonalizablePropertyEntry.cs
- GatewayDefinition.cs
- SecurityDocument.cs
- NonParentingControl.cs
- ConstantProjectedSlot.cs
- Ipv6Element.cs
- EndSelectCardRequest.cs
- ConfigsHelper.cs
- TransactionInformation.cs
- TypeBuilderInstantiation.cs
- RSAProtectedConfigurationProvider.cs
- LassoSelectionBehavior.cs
- QueryOpeningEnumerator.cs
- TextEditorTyping.cs
- RichTextBoxAutomationPeer.cs
- ZipIOLocalFileBlock.cs
- BitmapDownload.cs
- AccessText.cs
- PermissionAttributes.cs
- BrushValueSerializer.cs
- ControlPropertyNameConverter.cs
- MatrixIndependentAnimationStorage.cs
- GridItemPatternIdentifiers.cs
- Helpers.cs
- ReachIDocumentPaginatorSerializer.cs
- TailCallAnalyzer.cs
- SafeRegistryHandle.cs
- StateChangeEvent.cs
- AdRotator.cs
- BCLDebug.cs
- NoClickablePointException.cs
- TemplatedEditableDesignerRegion.cs
- XmlArrayItemAttributes.cs
- EdmItemCollection.cs
- ProcessProtocolHandler.cs
- Int64Animation.cs
- Binding.cs
- TraceLevelStore.cs
- QueryCursorEventArgs.cs
- HandlerFactoryCache.cs
- SqlDataReader.cs
- BitmapFrameDecode.cs
- StructuralObject.cs
- BindingBase.cs
- DispatchChannelSink.cs
- SafeIUnknown.cs
- SignatureToken.cs
- MetadataItemSerializer.cs
- HtmlShim.cs
- CodeCompiler.cs
- DetailsViewPagerRow.cs
- Pair.cs
- MeasureData.cs
- CombinedGeometry.cs
- ListViewPagedDataSource.cs
- selecteditemcollection.cs
- DefaultProxySection.cs
- AppDomainFactory.cs
- AttachInfo.cs
- OdbcEnvironmentHandle.cs
- SqlXml.cs
- XslVisitor.cs
- X509ChainElement.cs
- ToolBarButtonClickEvent.cs
- EmptyElement.cs
- FieldAccessException.cs
- XhtmlBasicPanelAdapter.cs
- FieldNameLookup.cs
- SerializationInfoEnumerator.cs
- InvalidEnumArgumentException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PeerInputChannel.cs
- ConfigurationStrings.cs
- DbMetaDataColumnNames.cs
- LicFileLicenseProvider.cs
- DataServiceQueryContinuation.cs
- XmlSchemaComplexContent.cs
- XmlObjectSerializerReadContext.cs