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
- CodeEntryPointMethod.cs
- ToolboxComponentsCreatedEventArgs.cs
- FormatConvertedBitmap.cs
- URL.cs
- FixedTextSelectionProcessor.cs
- tibetanshape.cs
- MatrixConverter.cs
- FontFamilyIdentifier.cs
- Compensate.cs
- PersistenceTask.cs
- Quad.cs
- ErrorWrapper.cs
- Substitution.cs
- DataGridRelationshipRow.cs
- FilterQuery.cs
- SizeChangedEventArgs.cs
- XmlDataSourceDesigner.cs
- RegexEditorDialog.cs
- SignHashRequest.cs
- AppSettingsReader.cs
- WindowsFormsSectionHandler.cs
- entitydatasourceentitysetnameconverter.cs
- TypeGeneratedEventArgs.cs
- VisualTarget.cs
- MetaForeignKeyColumn.cs
- Line.cs
- ClockController.cs
- PerformanceCounterPermissionEntryCollection.cs
- MetricEntry.cs
- WebPartDisplayMode.cs
- SpanIndex.cs
- SqlInternalConnectionTds.cs
- SourceItem.cs
- HttpProfileBase.cs
- CreateUserErrorEventArgs.cs
- PrintControllerWithStatusDialog.cs
- SafeArrayTypeMismatchException.cs
- CultureInfoConverter.cs
- DiscoveryDocumentSerializer.cs
- ByteStream.cs
- RuntimeWrappedException.cs
- DbConnectionStringCommon.cs
- serverconfig.cs
- TlsnegoTokenProvider.cs
- LazyTextWriterCreator.cs
- DataGridViewLinkCell.cs
- HyperLinkColumn.cs
- PartEditor.cs
- MouseGestureConverter.cs
- returneventsaver.cs
- SchemaDeclBase.cs
- SafeSecurityHandles.cs
- DefinitionUpdate.cs
- DataListItem.cs
- MutexSecurity.cs
- MobileControlPersister.cs
- LassoHelper.cs
- PersonalizationStateInfo.cs
- ShaderRenderModeValidation.cs
- ToolStripRenderEventArgs.cs
- TextDecorationCollectionConverter.cs
- CacheHelper.cs
- FileLevelControlBuilderAttribute.cs
- Constraint.cs
- WindowsStatic.cs
- IsolatedStorageFile.cs
- SplitterCancelEvent.cs
- Timer.cs
- RadioButtonFlatAdapter.cs
- X509CertificateCollection.cs
- RoutedEventHandlerInfo.cs
- MetadataSerializer.cs
- DiscoveryReferences.cs
- CatalogPartCollection.cs
- ReadOnlyDataSource.cs
- DataContractSerializerMessageContractImporter.cs
- EventLogPermissionAttribute.cs
- XmlMembersMapping.cs
- peersecuritysettings.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- XDeferredAxisSource.cs
- ToolStripHighContrastRenderer.cs
- XmlLinkedNode.cs
- PolyLineSegmentFigureLogic.cs
- FileDialog.cs
- odbcmetadatacolumnnames.cs
- Msec.cs
- BindingSource.cs
- SafeFileHandle.cs
- ByteKeyFrameCollection.cs
- Vector3DCollectionValueSerializer.cs
- Crypto.cs
- PackageRelationshipSelector.cs
- BitmapData.cs
- SecurityTokenRequirement.cs
- UserControl.cs
- SectionRecord.cs
- ConstraintManager.cs
- Funcletizer.cs
- StrongTypingException.cs