Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SqlUserDefinedTypeAttribute.cs
- ArraySubsetEnumerator.cs
- SecurityElement.cs
- filewebrequest.cs
- MetadataResolver.cs
- RoutedEventArgs.cs
- UIElement.cs
- XmlCountingReader.cs
- ComboBoxRenderer.cs
- DataBoundLiteralControl.cs
- ColorConverter.cs
- OrderedEnumerableRowCollection.cs
- InvalidComObjectException.cs
- GACMembershipCondition.cs
- MultiSelectRootGridEntry.cs
- ParameterExpression.cs
- RegisteredDisposeScript.cs
- RadioButtonAutomationPeer.cs
- LambdaExpression.cs
- UserControl.cs
- CodeExpressionCollection.cs
- SamlDelegatingWriter.cs
- LowerCaseStringConverter.cs
- ParameterBuilder.cs
- _NestedMultipleAsyncResult.cs
- EntityKeyElement.cs
- ColorTransformHelper.cs
- InfiniteIntConverter.cs
- ReflectTypeDescriptionProvider.cs
- Padding.cs
- XPathItem.cs
- NameValuePair.cs
- SqlDataSourceFilteringEventArgs.cs
- COAUTHINFO.cs
- InvariantComparer.cs
- URLEditor.cs
- OracleBoolean.cs
- ThaiBuddhistCalendar.cs
- NewArrayExpression.cs
- TimeStampChecker.cs
- Pkcs7Recipient.cs
- DescendantQuery.cs
- SamlAuthorizationDecisionStatement.cs
- RoleServiceManager.cs
- SourceChangedEventArgs.cs
- IsolatedStoragePermission.cs
- OperationAbortedException.cs
- NotifyIcon.cs
- UnauthorizedWebPart.cs
- ToolStripItemClickedEventArgs.cs
- PropertyGridView.cs
- ContainerUIElement3D.cs
- ElementFactory.cs
- EmptyControlCollection.cs
- ApplicationTrust.cs
- TabItemWrapperAutomationPeer.cs
- WebColorConverter.cs
- XPathMultyIterator.cs
- ListViewPagedDataSource.cs
- PeerCollaborationPermission.cs
- FlowLayout.cs
- SchemaElementLookUpTable.cs
- LocalizableResourceBuilder.cs
- RepeatInfo.cs
- CollectionContainer.cs
- ScriptComponentDescriptor.cs
- FieldToken.cs
- MarshalByValueComponent.cs
- ReturnValue.cs
- DecoderExceptionFallback.cs
- PasswordTextContainer.cs
- OdbcConnectionString.cs
- MSHTMLHost.cs
- EntityReference.cs
- PasswordTextNavigator.cs
- BadImageFormatException.cs
- CodePageUtils.cs
- DataGridRelationshipRow.cs
- ObjectQuery_EntitySqlExtensions.cs
- InputLanguageProfileNotifySink.cs
- TextInfo.cs
- DateTimeOffset.cs
- DetailsViewRowCollection.cs
- ServicesUtilities.cs
- CustomAttributeFormatException.cs
- OdbcReferenceCollection.cs
- WindowsButton.cs
- ActivityUtilities.cs
- NativeMethodsOther.cs
- SoapServerProtocol.cs
- Wildcard.cs
- OleDbSchemaGuid.cs
- DeclaredTypeValidator.cs
- ControlValuePropertyAttribute.cs
- QilFactory.cs
- ToolStripOverflowButton.cs
- DocumentViewerBase.cs
- designeractionbehavior.cs
- CustomSignedXml.cs
- XmlDataSourceView.cs