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
- RSAPKCS1KeyExchangeFormatter.cs
- EventToken.cs
- _HelperAsyncResults.cs
- SByte.cs
- DataKey.cs
- EFColumnProvider.cs
- ToolStripContentPanelRenderEventArgs.cs
- WindowsPen.cs
- SigningCredentials.cs
- LogicalCallContext.cs
- Stylesheet.cs
- ToolStripInSituService.cs
- UTF7Encoding.cs
- CodeTypeReference.cs
- ClientConfigPaths.cs
- PlatformCulture.cs
- DefaultProxySection.cs
- XhtmlConformanceSection.cs
- DocumentViewerHelper.cs
- Matrix3D.cs
- XmlQueryOutput.cs
- XmlArrayAttribute.cs
- NativeMethods.cs
- ParameterDataSourceExpression.cs
- TcpChannelFactory.cs
- DataFormats.cs
- DataGridViewRowPostPaintEventArgs.cs
- ConnectionManagementSection.cs
- TextDecoration.cs
- TextEditorMouse.cs
- RootBrowserWindowProxy.cs
- MaskInputRejectedEventArgs.cs
- _RequestCacheProtocol.cs
- PassportPrincipal.cs
- serverconfig.cs
- Opcode.cs
- HandleCollector.cs
- ThreadExceptionDialog.cs
- EventNotify.cs
- Input.cs
- DbBuffer.cs
- RectAnimation.cs
- CodeTypeOfExpression.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- Margins.cs
- _BaseOverlappedAsyncResult.cs
- EventSetterHandlerConverter.cs
- TransformConverter.cs
- TypeListConverter.cs
- SymbolMethod.cs
- ElementNotAvailableException.cs
- SqlDeflator.cs
- VirtualDirectoryMappingCollection.cs
- BrushConverter.cs
- RangeValueProviderWrapper.cs
- Pick.cs
- ComponentEditorPage.cs
- TextProviderWrapper.cs
- HtmlInputReset.cs
- SemaphoreFullException.cs
- WebPartConnectionsCancelEventArgs.cs
- CorePropertiesFilter.cs
- MappingException.cs
- TypeForwardedToAttribute.cs
- DetailsViewUpdatedEventArgs.cs
- HttpHostedTransportConfiguration.cs
- RelationshipEndCollection.cs
- DotExpr.cs
- CompiledQuery.cs
- ListItem.cs
- Int32KeyFrameCollection.cs
- ProcessHostServerConfig.cs
- CollectionChangedEventManager.cs
- ForEachAction.cs
- DbReferenceCollection.cs
- RelOps.cs
- TextEffect.cs
- UpdateTranslator.cs
- TextRangeBase.cs
- DiscoveryClientReferences.cs
- EmptyControlCollection.cs
- DataColumnMappingCollection.cs
- TransformGroup.cs
- ZipPackagePart.cs
- FormsAuthenticationUser.cs
- BamlLocalizationDictionary.cs
- ZoneMembershipCondition.cs
- TypedTableBase.cs
- CustomAttribute.cs
- xsdvalidator.cs
- SQLChars.cs
- Int32Converter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- TemplateContentLoader.cs
- VariableDesigner.xaml.cs
- CodeDelegateCreateExpression.cs
- Unit.cs
- EnumMemberAttribute.cs
- MultidimensionalArrayItemReference.cs
- DateTimeParse.cs