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
- FirstMatchCodeGroup.cs
- MethodCallTranslator.cs
- EdmSchemaError.cs
- OdbcStatementHandle.cs
- ColumnHeaderConverter.cs
- MethodAccessException.cs
- ServiceSecurityAuditBehavior.cs
- FileUpload.cs
- ShellProvider.cs
- WindowsListView.cs
- SynchronizedPool.cs
- ConnectionPointGlyph.cs
- ListenerChannelContext.cs
- SynchronizedDispatch.cs
- SystemSounds.cs
- BasePattern.cs
- InputDevice.cs
- InfoCardSymmetricAlgorithm.cs
- UserControlBuildProvider.cs
- CalloutQueueItem.cs
- Buffer.cs
- RequestDescription.cs
- ReadOnlyObservableCollection.cs
- DataGridCommandEventArgs.cs
- MessagePropertyFilter.cs
- ComponentRenameEvent.cs
- PingReply.cs
- StringAnimationUsingKeyFrames.cs
- LoadItemsEventArgs.cs
- Schema.cs
- Model3DGroup.cs
- ResumeStoryboard.cs
- GeometryConverter.cs
- AttributeSetAction.cs
- LexicalChunk.cs
- SmiContext.cs
- CryptoKeySecurity.cs
- StagingAreaInputItem.cs
- XmlSerializerOperationFormatter.cs
- Matrix.cs
- ContentElement.cs
- Light.cs
- ToolStripDropDown.cs
- FactoryMaker.cs
- PingOptions.cs
- PrintPreviewDialog.cs
- Certificate.cs
- AsyncPostBackErrorEventArgs.cs
- DataGridViewColumnCollection.cs
- StylusPointPropertyUnit.cs
- CustomAttribute.cs
- control.ime.cs
- MembershipPasswordException.cs
- EFColumnProvider.cs
- TagNameToTypeMapper.cs
- LinearGradientBrush.cs
- AssertFilter.cs
- XmlConvert.cs
- DataObjectSettingDataEventArgs.cs
- RouteValueExpressionBuilder.cs
- IsolatedStorageFilePermission.cs
- ParagraphResult.cs
- IssuanceLicense.cs
- SystemColors.cs
- DataGrid.cs
- MarkerProperties.cs
- ObsoleteAttribute.cs
- ViewgenGatekeeper.cs
- SignatureResourcePool.cs
- MaskedTextProvider.cs
- EventRecord.cs
- counter.cs
- WsdlServiceChannelBuilder.cs
- MenuItemStyleCollection.cs
- TextSelectionHelper.cs
- BitmapDownload.cs
- WebPartDescriptionCollection.cs
- DelegateHelpers.cs
- BamlResourceDeserializer.cs
- SchemaCollectionCompiler.cs
- BulletedListDesigner.cs
- IndexedString.cs
- ScriptingAuthenticationServiceSection.cs
- OrElse.cs
- CreateUserWizardStep.cs
- OperationResponse.cs
- DataGridViewAccessibleObject.cs
- CompressStream.cs
- DetailsViewInsertedEventArgs.cs
- TextAnchor.cs
- ToolBarButtonDesigner.cs
- safesecurityhelperavalon.cs
- ComplexBindingPropertiesAttribute.cs
- StorageEntityContainerMapping.cs
- Attributes.cs
- HtmlWindowCollection.cs
- RSACryptoServiceProvider.cs
- StateDesigner.Layouts.cs
- HiddenField.cs
- XmlArrayAttribute.cs