Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataGridItemAttachedStorage.cs
- StrokeDescriptor.cs
- TextElement.cs
- SqlDataAdapter.cs
- PauseStoryboard.cs
- Internal.cs
- AlternateView.cs
- UnsafeNativeMethodsPenimc.cs
- IntegerFacetDescriptionElement.cs
- WithStatement.cs
- DataGridRowsPresenter.cs
- UnsafeMethods.cs
- CompilerTypeWithParams.cs
- SetIterators.cs
- AppDomainAttributes.cs
- CompositeFontParser.cs
- EmbossBitmapEffect.cs
- WCFBuildProvider.cs
- SponsorHelper.cs
- CounterCreationData.cs
- MethodSet.cs
- EntityDataSource.cs
- ContextQuery.cs
- ToolBarOverflowPanel.cs
- TrimSurroundingWhitespaceAttribute.cs
- Clipboard.cs
- GridViewRowCollection.cs
- CodeBlockBuilder.cs
- SmtpFailedRecipientsException.cs
- Menu.cs
- DataGridView.cs
- ShutDownListener.cs
- HelpInfo.cs
- RequestCacheValidator.cs
- BufferModeSettings.cs
- RightsManagementEncryptionTransform.cs
- NumericUpDownAcceleration.cs
- EndpointDiscoveryBehavior.cs
- NotImplementedException.cs
- JapaneseCalendar.cs
- SecurityTokenParameters.cs
- Shape.cs
- ZipIOExtraFieldElement.cs
- BitmapPalette.cs
- ProfileSettingsCollection.cs
- ResourcePermissionBase.cs
- StructuralType.cs
- VScrollBar.cs
- _AcceptOverlappedAsyncResult.cs
- ExpressionNormalizer.cs
- PolicyFactory.cs
- basecomparevalidator.cs
- InternalUserCancelledException.cs
- DataGridTablesFactory.cs
- DefaultPrintController.cs
- XdrBuilder.cs
- CookieProtection.cs
- KoreanCalendar.cs
- StreamHelper.cs
- DataTemplate.cs
- documentsequencetextview.cs
- ProviderIncompatibleException.cs
- SystemInfo.cs
- ColorContextHelper.cs
- ParsedAttributeCollection.cs
- HighContrastHelper.cs
- TypedElement.cs
- TraceInternal.cs
- HotSpot.cs
- Int32Animation.cs
- ActiveDocumentEvent.cs
- Dynamic.cs
- CompositeControl.cs
- MessageAction.cs
- Gdiplus.cs
- XhtmlTextWriter.cs
- CharKeyFrameCollection.cs
- SimpleModelProvider.cs
- SrgsRuleRef.cs
- ExternalException.cs
- AsnEncodedData.cs
- OLEDB_Util.cs
- DetailsViewInsertEventArgs.cs
- ADMembershipProvider.cs
- EventLogPermissionAttribute.cs
- ListViewCancelEventArgs.cs
- ProxyHelper.cs
- TrackingStringDictionary.cs
- CodeAccessSecurityEngine.cs
- Image.cs
- CodeSpit.cs
- AssemblyInfo.cs
- EntryWrittenEventArgs.cs
- NGCUIElementCollectionSerializerAsync.cs
- HttpTransportManager.cs
- PersonalizableAttribute.cs
- CfgSemanticTag.cs
- MethodExpr.cs
- DeflateEmulationStream.cs
- MachineKeyConverter.cs