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
- WorkflowRuntimeService.cs
- IIS7WorkerRequest.cs
- WSFederationHttpBindingElement.cs
- IsolatedStorage.cs
- Rectangle.cs
- ActionItem.cs
- AuthenticateEventArgs.cs
- DefaultPrintController.cs
- OutputCacheSettingsSection.cs
- Scripts.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BufferedWebEventProvider.cs
- RuleSet.cs
- AttachedPropertyInfo.cs
- MethodExpr.cs
- FragmentQuery.cs
- XmlChoiceIdentifierAttribute.cs
- RectAnimationBase.cs
- LexicalChunk.cs
- ArgumentException.cs
- BindingBase.cs
- TreeSet.cs
- XXXInfos.cs
- RangeContentEnumerator.cs
- HashStream.cs
- NoneExcludedImageIndexConverter.cs
- TdsParserSessionPool.cs
- ClientData.cs
- Span.cs
- DependencyPropertyHelper.cs
- TableProviderWrapper.cs
- SourceInterpreter.cs
- CheckBoxList.cs
- ResourceExpressionEditor.cs
- CoTaskMemSafeHandle.cs
- EntityReference.cs
- TextServicesCompartmentContext.cs
- Logging.cs
- ChannelTraceRecord.cs
- Int32Storage.cs
- WebPartMinimizeVerb.cs
- RadioButtonRenderer.cs
- RoutedEventConverter.cs
- OdbcConnectionOpen.cs
- ProgressiveCrcCalculatingStream.cs
- LogicalExpressionTypeConverter.cs
- InvokeWebService.cs
- SinglePhaseEnlistment.cs
- SqlLiftWhereClauses.cs
- RawStylusActions.cs
- StrongNamePublicKeyBlob.cs
- DEREncoding.cs
- StringComparer.cs
- StylusPointProperty.cs
- PublisherMembershipCondition.cs
- MembershipValidatePasswordEventArgs.cs
- ObjectNotFoundException.cs
- AuthenticationConfig.cs
- CommunicationObjectFaultedException.cs
- ObjectStorage.cs
- X509UI.cs
- ChameleonKey.cs
- StackBuilderSink.cs
- SQLDecimalStorage.cs
- HttpListenerException.cs
- OleDbWrapper.cs
- DbMetaDataColumnNames.cs
- HttpApplicationFactory.cs
- UInt64Storage.cs
- DetailsViewPagerRow.cs
- Nullable.cs
- AppLevelCompilationSectionCache.cs
- RelationshipNavigation.cs
- Lease.cs
- WorkflowMessageEventHandler.cs
- SpecularMaterial.cs
- HitTestWithPointDrawingContextWalker.cs
- URLString.cs
- SignatureDescription.cs
- HtmlTextArea.cs
- EventLogSession.cs
- ConnectionsZoneAutoFormat.cs
- WebFaultClientMessageInspector.cs
- TryLoadRunnableWorkflowCommand.cs
- NGCPageContentCollectionSerializerAsync.cs
- TextRenderer.cs
- UTF32Encoding.cs
- MD5CryptoServiceProvider.cs
- RawStylusInput.cs
- ButtonBaseAdapter.cs
- JsonFormatWriterGenerator.cs
- StandardToolWindows.cs
- LinearGradientBrush.cs
- CalendarTable.cs
- ISAPIRuntime.cs
- RelationshipSet.cs
- xmlfixedPageInfo.cs
- DataGridViewSelectedCellCollection.cs
- _AcceptOverlappedAsyncResult.cs
- AspNetHostingPermission.cs