Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / TextOutput.cs / 1305376 / TextOutput.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.IO; using System.Xml; using System.Xml.XPath; using System.Text; internal class TextOutput : SequentialOutput { private TextWriter writer; internal TextOutput(Processor processor, Stream stream) : base(processor) { if (stream == null) { throw new ArgumentNullException("stream"); } this.encoding = processor.Output.Encoding; this.writer = new StreamWriter(stream, this.encoding); } internal TextOutput(Processor processor, TextWriter writer) : base(processor) { if (writer == null) { throw new ArgumentNullException("writer"); } this.encoding = writer.Encoding; this.writer = writer; } internal override void Write(char outputChar) { this.writer.Write(outputChar); } internal override void Write(string outputText) { this.writer.Write(outputText); } internal override void Close() { this.writer.Flush(); this.writer = null; } } } // 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
- ipaddressinformationcollection.cs
- TableLayoutPanelCodeDomSerializer.cs
- WebBaseEventKeyComparer.cs
- SplineKeyFrames.cs
- HyperLinkColumn.cs
- ErrorTableItemStyle.cs
- SchemaObjectWriter.cs
- LOSFormatter.cs
- DbException.cs
- MappingSource.cs
- ScrollProperties.cs
- LinqDataSourceContextEventArgs.cs
- ObjectListComponentEditor.cs
- TextTreeExtractElementUndoUnit.cs
- UnmanagedBitmapWrapper.cs
- DataControlReference.cs
- TextViewBase.cs
- ListParaClient.cs
- VideoDrawing.cs
- StrongNameIdentityPermission.cs
- ObjectListComponentEditor.cs
- HtmlInputFile.cs
- ByteRangeDownloader.cs
- FormatException.cs
- InkSerializer.cs
- CalculatedColumn.cs
- QilTargetType.cs
- IfJoinedCondition.cs
- HtmlWindow.cs
- CollectionViewGroupInternal.cs
- MeasureItemEvent.cs
- WebPartsSection.cs
- ScrollEvent.cs
- PageCanvasSize.cs
- NominalTypeEliminator.cs
- XpsColorContext.cs
- BindingList.cs
- MessageDecoder.cs
- IMembershipProvider.cs
- ApplicationException.cs
- XsdBuilder.cs
- InfoCardArgumentException.cs
- Publisher.cs
- EntityContainerRelationshipSetEnd.cs
- CombinedHttpChannel.cs
- XmlDataSourceDesigner.cs
- CodeLinePragma.cs
- XmlObjectSerializerWriteContextComplex.cs
- ImageSourceValueSerializer.cs
- BinaryNode.cs
- AnimationException.cs
- OpenFileDialog.cs
- DrawToolTipEventArgs.cs
- MetadataCollection.cs
- CodeGeneratorOptions.cs
- AssertHelper.cs
- ScriptReferenceEventArgs.cs
- XmlAtomicValue.cs
- SliderAutomationPeer.cs
- BuildManagerHost.cs
- TextSchema.cs
- PhysicalFontFamily.cs
- SafePEFileHandle.cs
- StringKeyFrameCollection.cs
- SafeArchiveContext.cs
- HttpCacheParams.cs
- GACMembershipCondition.cs
- AuthenticationException.cs
- Helper.cs
- LogConverter.cs
- RootBrowserWindowAutomationPeer.cs
- TimeSpan.cs
- SID.cs
- BaseParagraph.cs
- HttpListenerPrefixCollection.cs
- SignedInfo.cs
- ValidatorAttribute.cs
- MustUnderstandBehavior.cs
- xsdvalidator.cs
- ListComponentEditorPage.cs
- PropertyTab.cs
- GeneratedView.cs
- PanelStyle.cs
- MsmqIntegrationInputChannel.cs
- ManagementBaseObject.cs
- XmlDesignerDataSourceView.cs
- AuthenticationService.cs
- securestring.cs
- DescendentsWalker.cs
- TableRowsCollectionEditor.cs
- XmlAttributeOverrides.cs
- ComboBoxRenderer.cs
- SystemColors.cs
- MobileControlsSection.cs
- SimpleFileLog.cs
- AxHostDesigner.cs
- NavigationHelper.cs
- X509SubjectKeyIdentifierClause.cs
- TemplateControl.cs
- ObjectConverter.cs