Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CultureInfoConverter.cs
- TypeValidationEventArgs.cs
- GeneralTransform3D.cs
- WizardPanel.cs
- ClientRoleProvider.cs
- XhtmlTextWriter.cs
- WebPartPersonalization.cs
- Vector3DAnimationBase.cs
- QuestionEventArgs.cs
- LicenseContext.cs
- RoleService.cs
- DataControlButton.cs
- xmlfixedPageInfo.cs
- VariableElement.cs
- AuthenticateEventArgs.cs
- CachingHintValidation.cs
- LambdaReference.cs
- Rotation3D.cs
- GridViewCellAutomationPeer.cs
- DataGridViewCellLinkedList.cs
- _Connection.cs
- GridEntry.cs
- DbDataAdapter.cs
- PTProvider.cs
- IisTraceWebEventProvider.cs
- ServiceRoute.cs
- BoundingRectTracker.cs
- LookupBindingPropertiesAttribute.cs
- CfgParser.cs
- Geometry.cs
- HttpPostedFile.cs
- DetailsViewDeletedEventArgs.cs
- FileSystemEventArgs.cs
- SoapIgnoreAttribute.cs
- HexParser.cs
- GregorianCalendarHelper.cs
- Group.cs
- OrderedDictionary.cs
- DES.cs
- RequestFactory.cs
- SmtpDateTime.cs
- SqlMethodTransformer.cs
- PartialCachingAttribute.cs
- DbMetaDataColumnNames.cs
- OLEDB_Util.cs
- ApplyTemplatesAction.cs
- PageThemeBuildProvider.cs
- HashCodeCombiner.cs
- XmlJsonWriter.cs
- SafeLocalMemHandle.cs
- DataColumnMapping.cs
- DefaultTextStoreTextComposition.cs
- Material.cs
- FragmentQuery.cs
- DeflateStream.cs
- SafeRightsManagementPubHandle.cs
- NativeRightsManagementAPIsStructures.cs
- HttpRawResponse.cs
- AutomationAttributeInfo.cs
- HScrollProperties.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SqlException.cs
- ConfigurationException.cs
- LinqToSqlWrapper.cs
- cookiecontainer.cs
- HWStack.cs
- SecurityMessageProperty.cs
- InvalidOleVariantTypeException.cs
- ImageFormatConverter.cs
- LayoutUtils.cs
- ComboBoxItem.cs
- ClonableStack.cs
- OleDbEnumerator.cs
- GeometryModel3D.cs
- ApplicationBuildProvider.cs
- DynamicHyperLink.cs
- CaretElement.cs
- ChildTable.cs
- XPathNodePointer.cs
- ImmComposition.cs
- PerformanceCounterCategory.cs
- Delegate.cs
- ServiceModelConfigurationSectionCollection.cs
- MultipleViewProviderWrapper.cs
- GenericEnumConverter.cs
- WebPartConnectionsDisconnectVerb.cs
- LinearKeyFrames.cs
- SchemaMapping.cs
- CallbackBehaviorAttribute.cs
- ColorInterpolationModeValidation.cs
- SystemIcmpV4Statistics.cs
- Clause.cs
- SqlServer2KCompatibilityAnnotation.cs
- AutomationPatternInfo.cs
- DesignerForm.cs
- OpenTypeLayout.cs
- TextFormatterImp.cs
- FlowPosition.cs
- FlowLayoutSettings.cs
- ByteStack.cs