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
- SqlDataSourceConnectionPanel.cs
- ConstantProjectedSlot.cs
- RowCache.cs
- RelationalExpressions.cs
- CheckableControlBaseAdapter.cs
- XmlAtomicValue.cs
- DetailsViewDeleteEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- arabicshape.cs
- XPathNodeHelper.cs
- GridViewSortEventArgs.cs
- LayoutDump.cs
- PolyBezierSegment.cs
- Drawing.cs
- documentsequencetextpointer.cs
- FlowDocumentFormatter.cs
- VisualTarget.cs
- DbConnectionFactory.cs
- MasterPageCodeDomTreeGenerator.cs
- SrgsElementFactoryCompiler.cs
- Helper.cs
- Base64Stream.cs
- BamlLocalizableResource.cs
- DependencyPropertyKind.cs
- MenuItem.cs
- File.cs
- ProcessModule.cs
- CompiledRegexRunner.cs
- CodePageUtils.cs
- BuildProvider.cs
- AccessDataSourceView.cs
- ObjectStateEntry.cs
- EndEvent.cs
- CategoryEditor.cs
- DesignerInterfaces.cs
- oledbmetadatacollectionnames.cs
- EngineSite.cs
- DatePickerTextBox.cs
- NameHandler.cs
- DbParameterCollection.cs
- VisualTarget.cs
- WhitespaceRuleLookup.cs
- Pkcs9Attribute.cs
- arabicshape.cs
- DelayedRegex.cs
- HostedHttpTransportManager.cs
- PropertyTabChangedEvent.cs
- Event.cs
- DrawingGroup.cs
- ModulesEntry.cs
- PointLightBase.cs
- BindingValueChangedEventArgs.cs
- CodeDomConfigurationHandler.cs
- PermissionToken.cs
- CacheHelper.cs
- DateRangeEvent.cs
- DataSourceXmlTextReader.cs
- Typeface.cs
- WebServicesSection.cs
- ErrorWebPart.cs
- MemoryFailPoint.cs
- SrgsText.cs
- TemplateInstanceAttribute.cs
- TextDecorationCollectionConverter.cs
- RepeatBehavior.cs
- WindowsContainer.cs
- AutomationFocusChangedEventArgs.cs
- QueryableDataSourceHelper.cs
- HtmlToClrEventProxy.cs
- SiteMapDataSourceView.cs
- AutomationPatternInfo.cs
- iisPickupDirectory.cs
- ScrollViewer.cs
- TextEncodedRawTextWriter.cs
- AbstractSvcMapFileLoader.cs
- BuiltInExpr.cs
- PackageStore.cs
- COM2TypeInfoProcessor.cs
- DbTransaction.cs
- wgx_sdk_version.cs
- TokenBasedSetEnumerator.cs
- BitmapInitialize.cs
- ObjectIDGenerator.cs
- FragmentNavigationEventArgs.cs
- RewritingSimplifier.cs
- sqlnorm.cs
- ReferenceConverter.cs
- UnsafeNativeMethods.cs
- SqlUnionizer.cs
- HtmlInputHidden.cs
- SplitterCancelEvent.cs
- Literal.cs
- ComponentChangingEvent.cs
- TextRunCache.cs
- User.cs
- SocketAddress.cs
- ConnectionProviderAttribute.cs
- SMSvcHost.cs
- TableParaClient.cs
- Container.cs