Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- PagerStyle.cs
- ObjectViewListener.cs
- MimeTypeAttribute.cs
- ArgIterator.cs
- ReadOnlyDictionary.cs
- IndentTextWriter.cs
- ToolStripItemCollection.cs
- IsolatedStorageFilePermission.cs
- ConfigXmlElement.cs
- TableDetailsRow.cs
- IItemProperties.cs
- ColumnTypeConverter.cs
- ActivityExecutor.cs
- ObjectNavigationPropertyMapping.cs
- SelectedCellsCollection.cs
- Formatter.cs
- DataControlFieldsEditor.cs
- WriteTimeStream.cs
- PropertyChangedEventManager.cs
- LocalTransaction.cs
- DateTimeSerializationSection.cs
- ExeContext.cs
- _SpnDictionary.cs
- Stroke.cs
- LayoutInformation.cs
- RotateTransform3D.cs
- Control.cs
- IIS7WorkerRequest.cs
- InvokerUtil.cs
- DbgUtil.cs
- SocketAddress.cs
- PenThreadPool.cs
- XPathItem.cs
- DataServiceHostFactory.cs
- BlockCollection.cs
- Boolean.cs
- ImageKeyConverter.cs
- CngAlgorithm.cs
- MailMessage.cs
- UIElement.cs
- DataColumnPropertyDescriptor.cs
- EventArgs.cs
- CompositeFontInfo.cs
- AudioStateChangedEventArgs.cs
- WorkflowMarkupSerializationException.cs
- EnvironmentPermission.cs
- _SslSessionsCache.cs
- AppearanceEditorPart.cs
- CodeDirectionExpression.cs
- CompressedStack.cs
- LocalizedNameDescriptionPair.cs
- SpellCheck.cs
- TagElement.cs
- SchemaDeclBase.cs
- _MultipleConnectAsync.cs
- HwndMouseInputProvider.cs
- WebPartConnectionsConfigureVerb.cs
- WindowsListViewSubItem.cs
- ControlBuilder.cs
- AnnotationAdorner.cs
- GcHandle.cs
- HtmlImageAdapter.cs
- AuthorizationContext.cs
- dtdvalidator.cs
- invalidudtexception.cs
- TextViewBase.cs
- Emitter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- XmlSchemaComplexContent.cs
- EntityConnection.cs
- TypeBinaryExpression.cs
- HtmlTextArea.cs
- TextPointerBase.cs
- ProcessHostConfigUtils.cs
- FontSource.cs
- dataobject.cs
- _NestedSingleAsyncResult.cs
- GridLength.cs
- HostedElements.cs
- TriggerAction.cs
- CodeEntryPointMethod.cs
- FilterQuery.cs
- CodeEventReferenceExpression.cs
- SqlConnectionFactory.cs
- _NegoState.cs
- Nullable.cs
- ServiceContractAttribute.cs
- SafeNativeMethods.cs
- Int32Rect.cs
- DBSqlParserColumnCollection.cs
- UIHelper.cs
- PaintEvent.cs
- GenericWebPart.cs
- SafeTimerHandle.cs
- BufferBuilder.cs
- ToolStripInSituService.cs
- CultureInfoConverter.cs
- ObjectStateFormatter.cs
- DataBindingCollectionEditor.cs
- ChildTable.cs