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
- ErrorWrapper.cs
- XamlTreeBuilder.cs
- embossbitmapeffect.cs
- ContentElement.cs
- SqlException.cs
- StylusPointPropertyUnit.cs
- SqlCrossApplyToCrossJoin.cs
- COM2TypeInfoProcessor.cs
- ApplicationContext.cs
- PageAdapter.cs
- BinaryMethodMessage.cs
- BaseAddressElement.cs
- DiscreteKeyFrames.cs
- ToolStripMenuItem.cs
- ListSourceHelper.cs
- Section.cs
- QueryContinueDragEventArgs.cs
- AssemblyNameProxy.cs
- sqlnorm.cs
- DynamicDataRoute.cs
- FamilyTypeface.cs
- IPAddressCollection.cs
- XPathNodeList.cs
- XamlParser.cs
- ValidatedMobileControlConverter.cs
- SqlClientWrapperSmiStream.cs
- ContourSegment.cs
- PropertyInfoSet.cs
- ToolStripPanelCell.cs
- IISMapPath.cs
- NamespaceTable.cs
- XmlSchemaAppInfo.cs
- ExtenderProvidedPropertyAttribute.cs
- NullExtension.cs
- ToolStripGripRenderEventArgs.cs
- UncommonField.cs
- TemplateControlBuildProvider.cs
- TextBoxLine.cs
- CodeObjectCreateExpression.cs
- NameObjectCollectionBase.cs
- ResourcePermissionBaseEntry.cs
- WindowsSolidBrush.cs
- TextTreeUndoUnit.cs
- WebPartConnectVerb.cs
- ProfileElement.cs
- PathData.cs
- DefaultTextStoreTextComposition.cs
- MonitoringDescriptionAttribute.cs
- DelegateSerializationHolder.cs
- CompiledQueryCacheKey.cs
- RectangleF.cs
- ButtonStandardAdapter.cs
- WorkflowRequestContext.cs
- OutKeywords.cs
- SqlConnectionString.cs
- TextServicesCompartmentContext.cs
- UserValidatedEventArgs.cs
- SemaphoreSecurity.cs
- ServerIdentity.cs
- IpcChannel.cs
- AnnotationStore.cs
- ColumnHeader.cs
- ChangePassword.cs
- TextElementCollection.cs
- __FastResourceComparer.cs
- CoTaskMemSafeHandle.cs
- DSASignatureDeformatter.cs
- FlowNode.cs
- ClockController.cs
- UpdateException.cs
- smtpconnection.cs
- GenericWebPart.cs
- ExpressionBuilder.cs
- LinqDataSourceDisposeEventArgs.cs
- KeyPullup.cs
- IntSecurity.cs
- ProviderIncompatibleException.cs
- XmlQueryContext.cs
- DrawingAttributeSerializer.cs
- CachedBitmap.cs
- BinaryObjectReader.cs
- DependencyProperty.cs
- Rfc2898DeriveBytes.cs
- Tokenizer.cs
- DataListItem.cs
- StateChangeEvent.cs
- ValidationSummary.cs
- ListViewInsertedEventArgs.cs
- ConstraintCollection.cs
- AspProxy.cs
- CodeObject.cs
- ReliableSessionBindingElementImporter.cs
- StatusBarItem.cs
- CodeConstructor.cs
- Funcletizer.cs
- WsdlBuildProvider.cs
- CellQuery.cs
- ProcessInfo.cs
- ToolStripButton.cs
- SchemaSetCompiler.cs