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
- _AutoWebProxyScriptEngine.cs
- Native.cs
- DataGridColumnStyleMappingNameEditor.cs
- TCPListener.cs
- BrowserDefinitionCollection.cs
- TrackBar.cs
- SqlCommandAsyncResult.cs
- DynamicValueConverter.cs
- ImplicitInputBrush.cs
- DesignerValidatorAdapter.cs
- UnsafeNativeMethodsTablet.cs
- DataRelationCollection.cs
- CDSsyncETWBCLProvider.cs
- CheckableControlBaseAdapter.cs
- PassportAuthenticationModule.cs
- AutomationPeer.cs
- Positioning.cs
- SrgsOneOf.cs
- DataTemplateKey.cs
- StatusBarItem.cs
- RelatedEnd.cs
- SystemTcpConnection.cs
- PropertyInformationCollection.cs
- DbDataRecord.cs
- SqlDataSourceConfigureSelectPanel.cs
- TextTrailingWordEllipsis.cs
- ArglessEventHandlerProxy.cs
- ServiceDescriptionReflector.cs
- SpecialNameAttribute.cs
- SortKey.cs
- WindowsToolbarAsMenu.cs
- ToolStripButton.cs
- DocumentViewerConstants.cs
- OperationResponse.cs
- Clock.cs
- SmiEventSink_DeferedProcessing.cs
- StyleCollectionEditor.cs
- SHA1Managed.cs
- ErrorRuntimeConfig.cs
- InfoCardRequestException.cs
- TableColumn.cs
- XmlQueryStaticData.cs
- WindowsFont.cs
- DataObjectMethodAttribute.cs
- DataKeyCollection.cs
- JapaneseCalendar.cs
- SQLCharsStorage.cs
- SafeRightsManagementSessionHandle.cs
- DesignTimeTemplateParser.cs
- ButtonRenderer.cs
- Base64Encoder.cs
- XsltException.cs
- SmiEventStream.cs
- PartialArray.cs
- FilteredXmlReader.cs
- ITextView.cs
- XmlStreamStore.cs
- PackagePartCollection.cs
- Monitor.cs
- SiteMapProvider.cs
- ClientBuildManagerCallback.cs
- RayMeshGeometry3DHitTestResult.cs
- EventLogEntry.cs
- DbModificationClause.cs
- LinearGradientBrush.cs
- HierarchicalDataTemplate.cs
- ResXResourceWriter.cs
- Vector3DConverter.cs
- CodeCommentStatementCollection.cs
- Panel.cs
- StyleXamlTreeBuilder.cs
- DataSourceView.cs
- PlatformNotSupportedException.cs
- TextClipboardData.cs
- DummyDataSource.cs
- BinarySecretKeyIdentifierClause.cs
- Documentation.cs
- SimpleLine.cs
- SqlStatistics.cs
- Transform3D.cs
- SHA1CryptoServiceProvider.cs
- TextCollapsingProperties.cs
- RootProfilePropertySettingsCollection.cs
- AttachInfo.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- RefreshEventArgs.cs
- MutexSecurity.cs
- TemplateBindingExtensionConverter.cs
- SqlTypesSchemaImporter.cs
- InputManager.cs
- ActivityTypeDesigner.xaml.cs
- AdapterDictionary.cs
- CreateUserErrorEventArgs.cs
- PasswordRecovery.cs
- CodeGroup.cs
- CommentEmitter.cs
- AnnotationAdorner.cs
- AssemblyCollection.cs
- FontSource.cs
- UnauthorizedAccessException.cs