Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / HttpResponseWrapper.cs / 1 / HttpResponseWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections.Specialized; using System.Diagnostics; using System.Web; using System.IO; using System.Security; using System.Security.Permissions; internal sealed class HttpResponseWrapper : IHttpResponse { private HttpResponse _httpResponse; public HttpResponseWrapper(HttpResponse httpResponse) { Debug.Assert(httpResponse != null); _httpResponse = httpResponse; } #region IHttpResponse Members IHttpCachePolicy IHttpResponse.Cache { get { return new HttpCachePolicyWrapper(_httpResponse.Cache); } } string IHttpResponse.ContentType { set { _httpResponse.ContentType = value; } } Stream IHttpResponse.Filter { get { return _httpResponse.Filter; } set { _httpResponse.Filter = value; } } TextWriter IHttpResponse.Output { get { return _httpResponse.Output; } } void IHttpResponse.Clear() { _httpResponse.Clear(); } void IHttpResponse.End() { _httpResponse.End(); } TextWriter IHttpResponse.SwitchWriter(TextWriter writer) { return _httpResponse.SwitchWriter(writer); } void IHttpResponse.Write(string s) { _httpResponse.Write(s); } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Random.cs
- ExtensionSimplifierMarkupObject.cs
- ViewGenResults.cs
- ResourceReferenceExpression.cs
- GridViewEditEventArgs.cs
- PolygonHotSpot.cs
- ElementHostPropertyMap.cs
- GridViewUpdateEventArgs.cs
- MessageHeaderT.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TaiwanCalendar.cs
- BasicHttpSecurity.cs
- ObjectListFieldsPage.cs
- ConfigXmlCDataSection.cs
- Point4D.cs
- CommittableTransaction.cs
- HintTextMaxWidthConverter.cs
- SHA1CryptoServiceProvider.cs
- NumberSubstitution.cs
- DetailsViewUpdatedEventArgs.cs
- Convert.cs
- DiagnosticsConfigurationHandler.cs
- SuppressIldasmAttribute.cs
- StackSpiller.cs
- WindowsSpinner.cs
- XmlEntityReference.cs
- XmlSchemaComplexContent.cs
- BroadcastEventHelper.cs
- OleDbPermission.cs
- mediaeventshelper.cs
- CapacityStreamGeometryContext.cs
- DrawingVisualDrawingContext.cs
- XmlValidatingReaderImpl.cs
- DtrList.cs
- XhtmlTextWriter.cs
- EventBuilder.cs
- Invariant.cs
- XmlElementList.cs
- FeatureSupport.cs
- SimpleTextLine.cs
- DataTransferEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- HttpCookiesSection.cs
- XmlSchemaCompilationSettings.cs
- XmlSchemaAttributeGroup.cs
- CommonObjectSecurity.cs
- SizeChangedInfo.cs
- SpellerInterop.cs
- ColumnPropertiesGroup.cs
- CreateRefExpr.cs
- XPathAncestorIterator.cs
- CollectionBuilder.cs
- MappedMetaModel.cs
- TextOutput.cs
- SystemIPInterfaceStatistics.cs
- SecurityUniqueId.cs
- SimpleWorkerRequest.cs
- RequestContextBase.cs
- Assembly.cs
- ReceiveContextCollection.cs
- Expander.cs
- SupportsEventValidationAttribute.cs
- HostedHttpContext.cs
- TextBlock.cs
- SqlLiftIndependentRowExpressions.cs
- DoubleKeyFrameCollection.cs
- ClrProviderManifest.cs
- IncrementalReadDecoders.cs
- AuthorizationRule.cs
- Popup.cs
- FixedPage.cs
- NotSupportedException.cs
- MetadataWorkspace.cs
- SudsCommon.cs
- WebConvert.cs
- NeutralResourcesLanguageAttribute.cs
- BaseTreeIterator.cs
- SendingRequestEventArgs.cs
- precedingquery.cs
- RecommendedAsConfigurableAttribute.cs
- ConfigurationElement.cs
- SecurityTokenRequirement.cs
- CompilerScopeManager.cs
- ExpandButtonVisibilityConverter.cs
- DurableErrorHandler.cs
- DataStorage.cs
- RSACryptoServiceProvider.cs
- TextBlock.cs
- OutputWindow.cs
- XpsTokenContext.cs
- ConnectionPointCookie.cs
- Transform.cs
- QfeChecker.cs
- XmlSchemaGroup.cs
- RecognizerStateChangedEventArgs.cs
- Variant.cs
- CodeMethodMap.cs
- CurrentChangingEventManager.cs
- dataSvcMapFileLoader.cs