Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / StringOutput.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpDictionary.cs
- ContainerTracking.cs
- CLRBindingWorker.cs
- _SslSessionsCache.cs
- DataGridViewControlCollection.cs
- WithParamAction.cs
- InternalPermissions.cs
- OleDbCommandBuilder.cs
- OrderByBuilder.cs
- SqlTrackingQuery.cs
- TdsParser.cs
- CoTaskMemHandle.cs
- CommandBinding.cs
- MenuItemStyleCollection.cs
- NullNotAllowedCollection.cs
- RuleProcessor.cs
- InputBinding.cs
- ServicePointManagerElement.cs
- DoubleLinkList.cs
- InputBuffer.cs
- StateMachine.cs
- WebPartCollection.cs
- StylusPointProperty.cs
- CompModSwitches.cs
- OwnerDrawPropertyBag.cs
- XmlSchemaSimpleTypeRestriction.cs
- ToolStripItem.cs
- UInt16Storage.cs
- EmbeddedObject.cs
- InternalBase.cs
- TraceEventCache.cs
- BufferedReceiveElement.cs
- FileAuthorizationModule.cs
- PreloadedPackages.cs
- AddInEnvironment.cs
- HandlerBase.cs
- SqlMethodCallConverter.cs
- ByteConverter.cs
- XDeferredAxisSource.cs
- SQLByte.cs
- LineSegment.cs
- PeerName.cs
- CompilerGeneratedAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- Transform3D.cs
- ResumeStoryboard.cs
- QilInvokeLateBound.cs
- TrackingServices.cs
- SqlDelegatedTransaction.cs
- AdRotatorDesigner.cs
- ProgressBar.cs
- OleDbConnectionFactory.cs
- Int32RectConverter.cs
- JournalEntryStack.cs
- ProjectionPathSegment.cs
- RequiredFieldValidator.cs
- SqlBooleanMismatchVisitor.cs
- ConnectionManagementElement.cs
- IndexedString.cs
- MaskedTextBoxTextEditorDropDown.cs
- CreatingCookieEventArgs.cs
- ScrollBar.cs
- DesignerAdapterUtil.cs
- PartitionResolver.cs
- SettingsProperty.cs
- AssemblyAttributesGoHere.cs
- ConstraintEnumerator.cs
- TextEditor.cs
- ResourceReferenceKeyNotFoundException.cs
- GridViewColumnCollection.cs
- UserControlParser.cs
- ZipIOLocalFileBlock.cs
- Helpers.cs
- CleanUpVirtualizedItemEventArgs.cs
- HttpGetProtocolReflector.cs
- EdmValidator.cs
- UnhandledExceptionEventArgs.cs
- StylusPointCollection.cs
- DefaultSerializationProviderAttribute.cs
- XomlCompilerHelpers.cs
- PlatformCulture.cs
- AnnotationHighlightLayer.cs
- Column.cs
- securitycriticaldata.cs
- Menu.cs
- HttpServerVarsCollection.cs
- DriveNotFoundException.cs
- SafeBitVector32.cs
- _AutoWebProxyScriptHelper.cs
- RoleManagerSection.cs
- NumberSubstitution.cs
- FormViewModeEventArgs.cs
- OdbcError.cs
- IsolatedStorageFilePermission.cs
- ConfigurationConverterBase.cs
- WebPartDeleteVerb.cs
- TableAdapterManagerGenerator.cs
- CompilerHelpers.cs
- TemplateControl.cs
- ComboBoxRenderer.cs