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
- ComponentSerializationService.cs
- ScriptBehaviorDescriptor.cs
- ProfileModule.cs
- WsatConfiguration.cs
- securitymgrsite.cs
- Typography.cs
- ExtenderControl.cs
- TraceSection.cs
- DataSetMappper.cs
- TranslateTransform3D.cs
- XD.cs
- IconHelper.cs
- LinearKeyFrames.cs
- TemplateXamlParser.cs
- MaterialGroup.cs
- XmlSchemaDatatype.cs
- QilTypeChecker.cs
- RemoteWebConfigurationHostServer.cs
- Comparer.cs
- Guid.cs
- DiscoveryMessageSequence.cs
- ConfigurationManagerHelper.cs
- _ShellExpression.cs
- VectorAnimationUsingKeyFrames.cs
- IpcClientManager.cs
- SafeCertificateContext.cs
- SqlDataSourceCache.cs
- FunctionDetailsReader.cs
- TypeUtils.cs
- CookieHandler.cs
- TextParagraphView.cs
- GridItemPattern.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TagMapInfo.cs
- TemplatedEditableDesignerRegion.cs
- ToolStripSettings.cs
- SupportsEventValidationAttribute.cs
- SingleAnimationUsingKeyFrames.cs
- MultiTrigger.cs
- ImportContext.cs
- Parser.cs
- ConstructorNeedsTagAttribute.cs
- DataControlLinkButton.cs
- TypedReference.cs
- TextRangeEditTables.cs
- FrameworkObject.cs
- PkcsMisc.cs
- ObjectPropertyMapping.cs
- WebRequest.cs
- Base64Stream.cs
- XmlSchemaDatatype.cs
- FormatSettings.cs
- ResourceManager.cs
- GetPageCompletedEventArgs.cs
- ToolStripDropDown.cs
- HostVisual.cs
- Positioning.cs
- UInt16Storage.cs
- DataListGeneralPage.cs
- FormsAuthenticationModule.cs
- PropertyEmitterBase.cs
- ProcessHostMapPath.cs
- WebPartEditorCancelVerb.cs
- Point.cs
- SqlDataSourceSelectingEventArgs.cs
- PrincipalPermissionMode.cs
- NamespaceTable.cs
- Compress.cs
- Source.cs
- FlowPosition.cs
- ClientFormsAuthenticationMembershipProvider.cs
- Point3DConverter.cs
- LicenseProviderAttribute.cs
- MimeMapping.cs
- GeneralTransformGroup.cs
- SHA1CryptoServiceProvider.cs
- PropertyInformationCollection.cs
- FileIOPermission.cs
- followingquery.cs
- Hex.cs
- CaseInsensitiveOrdinalStringComparer.cs
- UTF32Encoding.cs
- Canvas.cs
- OutputWindow.cs
- CallTemplateAction.cs
- TemplateBaseAction.cs
- DocumentOrderQuery.cs
- Paragraph.cs
- ProxyManager.cs
- SSmlParser.cs
- WebPartConnectionsCancelVerb.cs
- BitmapPalette.cs
- WebPartCollection.cs
- EventSinkActivity.cs
- CellPartitioner.cs
- CompositeDataBoundControl.cs
- EntityWithChangeTrackerStrategy.cs
- UnmanagedMemoryStreamWrapper.cs
- DefaultPropertyAttribute.cs
- TextServicesCompartment.cs