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
- DropShadowBitmapEffect.cs
- FixedTextBuilder.cs
- BuildManager.cs
- StringUtil.cs
- FlatButtonAppearance.cs
- SymDocumentType.cs
- TraceListener.cs
- WmpBitmapDecoder.cs
- connectionpool.cs
- HashSetEqualityComparer.cs
- odbcmetadatafactory.cs
- BrowserCapabilitiesCompiler.cs
- BooleanConverter.cs
- Opcode.cs
- TraceSource.cs
- _CookieModule.cs
- TemplateBindingExpressionConverter.cs
- OptimizedTemplateContent.cs
- JoinTreeNode.cs
- AccessControlList.cs
- GraphicsPathIterator.cs
- BaseParaClient.cs
- VectorConverter.cs
- ActiveDocumentEvent.cs
- MethodBody.cs
- ConfigurationLocationCollection.cs
- Stack.cs
- StructuredTypeInfo.cs
- ProgressBarHighlightConverter.cs
- TypedReference.cs
- GeneralTransform3DCollection.cs
- CultureSpecificStringDictionary.cs
- AccessControlEntry.cs
- ReaderContextStackData.cs
- PromptBuilder.cs
- BitmapScalingModeValidation.cs
- WorkflowPageSetupDialog.cs
- WindowsToolbarAsMenu.cs
- SapiAttributeParser.cs
- MarkedHighlightComponent.cs
- FillBehavior.cs
- GetLastErrorDetailsRequest.cs
- TableStyle.cs
- ActionFrame.cs
- ProviderConnectionPointCollection.cs
- PropertyMapper.cs
- SafeBitVector32.cs
- CompressionTransform.cs
- XmlReflectionImporter.cs
- WaitHandleCannotBeOpenedException.cs
- Function.cs
- ConfigXmlDocument.cs
- BaseProcessProtocolHandler.cs
- CapabilitiesState.cs
- MenuItemBindingCollection.cs
- clipboard.cs
- ReceiveActivity.cs
- CachedResourceDictionaryExtension.cs
- MinimizableAttributeTypeConverter.cs
- PolicyVersionConverter.cs
- OleDbTransaction.cs
- CompositionAdorner.cs
- FormViewUpdateEventArgs.cs
- XmlCompatibilityReader.cs
- ScanQueryOperator.cs
- XmlSchemaElement.cs
- SqlConnection.cs
- BitmapSourceSafeMILHandle.cs
- RSAOAEPKeyExchangeFormatter.cs
- ExpressionVisitor.cs
- SecurityState.cs
- IISUnsafeMethods.cs
- Triplet.cs
- CacheEntry.cs
- DateTimeUtil.cs
- SoapFault.cs
- JapaneseLunisolarCalendar.cs
- Point3D.cs
- Mutex.cs
- DtdParser.cs
- SHA384Managed.cs
- COM2ExtendedBrowsingHandler.cs
- ActivationServices.cs
- CapabilitiesRule.cs
- AutomationEvent.cs
- RemotingConfigParser.cs
- TableLayoutSettings.cs
- ColumnReorderedEventArgs.cs
- RectAnimation.cs
- TagNameToTypeMapper.cs
- NetworkAddressChange.cs
- ReplyAdapterChannelListener.cs
- SEHException.cs
- XPathItem.cs
- util.cs
- SettingsProperty.cs
- DeploymentSectionCache.cs
- SaveFileDialog.cs
- StylusPointCollection.cs
- NumericUpDown.cs