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
- StorageComplexPropertyMapping.cs
- CompoundFileReference.cs
- MetadataArtifactLoaderFile.cs
- IsolatedStorageFileStream.cs
- WebPartCloseVerb.cs
- TaiwanCalendar.cs
- BCryptSafeHandles.cs
- BitmapEffectGeneralTransform.cs
- Constants.cs
- SHA384Managed.cs
- HttpModuleAction.cs
- NetCodeGroup.cs
- ObjectConverter.cs
- ListViewItemEventArgs.cs
- CheckoutException.cs
- UnsafeNativeMethods.cs
- _TLSstream.cs
- SafeThemeHandle.cs
- DataViewSetting.cs
- FixedSOMGroup.cs
- HotSpotCollection.cs
- LoginUtil.cs
- WebPartConnectionsConfigureVerb.cs
- ControlPropertyNameConverter.cs
- DataFormats.cs
- SectionInformation.cs
- VectorCollection.cs
- TaiwanLunisolarCalendar.cs
- isolationinterop.cs
- TextElementAutomationPeer.cs
- CodeArgumentReferenceExpression.cs
- Region.cs
- SoundPlayerAction.cs
- RangeValidator.cs
- X509CertificateRecipientClientCredential.cs
- ClientRuntimeConfig.cs
- QuaternionKeyFrameCollection.cs
- ConditionalExpression.cs
- NativeMethods.cs
- FontCacheUtil.cs
- CursorConverter.cs
- ListBox.cs
- ImageButton.cs
- XmlSchemaAttributeGroup.cs
- LazyTextWriterCreator.cs
- RoleManagerSection.cs
- Vector3DAnimation.cs
- TreeIterators.cs
- Point.cs
- Pens.cs
- DictionarySurrogate.cs
- XmlDomTextWriter.cs
- EdmFunction.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataServiceContext.cs
- SharedUtils.cs
- Material.cs
- Int32CollectionConverter.cs
- sqlnorm.cs
- QueryLifecycle.cs
- EntitySetBaseCollection.cs
- Attribute.cs
- MessageQueueAccessControlEntry.cs
- ListBox.cs
- UrlAuthorizationModule.cs
- ClientSideQueueItem.cs
- HyperLink.cs
- Environment.cs
- PathFigureCollectionConverter.cs
- Polygon.cs
- StrokeNodeEnumerator.cs
- WizardForm.cs
- ElementNotAvailableException.cs
- SoapExtensionImporter.cs
- DataReceivedEventArgs.cs
- X509CertificateRecipientServiceCredential.cs
- PropertyFilter.cs
- Visual3D.cs
- ConvertersCollection.cs
- HttpListenerException.cs
- Vector3DAnimationBase.cs
- ClaimSet.cs
- TriggerBase.cs
- Span.cs
- DictionaryBase.cs
- PrimitiveType.cs
- CombinedTcpChannel.cs
- TextTreeTextBlock.cs
- RectIndependentAnimationStorage.cs
- TimerEventSubscription.cs
- RegexRunner.cs
- SafeCryptoHandles.cs
- HierarchicalDataTemplate.cs
- ImpersonationContext.cs
- SqlParameter.cs
- SqlExpander.cs
- RemoteWebConfigurationHost.cs
- FormClosedEvent.cs
- ZipIOModeEnforcingStream.cs
- TextMarkerSource.cs