Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / HandlerWithFactory.cs / 1 / HandlerWithFactory.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Config related classes for HttpApplication */ namespace System.Web.Configuration { using System; /* * Factory / handler pair for recycling */ internal class HandlerWithFactory { private IHttpHandler _handler; private IHttpHandlerFactory _factory; internal HandlerWithFactory(IHttpHandler handler, IHttpHandlerFactory factory) { _handler = handler; _factory = factory; } internal void Recycle() { _factory.ReleaseHandler(_handler); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Config related classes for HttpApplication */ namespace System.Web.Configuration { using System; /* * Factory / handler pair for recycling */ internal class HandlerWithFactory { private IHttpHandler _handler; private IHttpHandlerFactory _factory; internal HandlerWithFactory(IHttpHandler handler, IHttpHandlerFactory factory) { _handler = handler; _factory = factory; } internal void Recycle() { _factory.ReleaseHandler(_handler); } } } // 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
- SoapMessage.cs
- CalendarTable.cs
- ServiceModelConfigurationSectionGroup.cs
- ToolStripDropDownClosingEventArgs.cs
- SchemaNotation.cs
- _OverlappedAsyncResult.cs
- UrlAuthorizationModule.cs
- EncodingNLS.cs
- XhtmlBasicImageAdapter.cs
- CommandID.cs
- cache.cs
- XdrBuilder.cs
- SequentialOutput.cs
- StylusTip.cs
- ComponentEditorForm.cs
- CryptoProvider.cs
- LogPolicy.cs
- XmlSchemaSearchPattern.cs
- DrawingGroup.cs
- QilList.cs
- SymLanguageVendor.cs
- PickDesigner.xaml.cs
- ObjectKeyFrameCollection.cs
- ChineseLunisolarCalendar.cs
- initElementDictionary.cs
- Header.cs
- CodeMemberEvent.cs
- EntityContainerEntitySet.cs
- AdornerDecorator.cs
- InvokeProviderWrapper.cs
- SystemSounds.cs
- OuterGlowBitmapEffect.cs
- Frame.cs
- Splitter.cs
- SafePointer.cs
- ScrollChangedEventArgs.cs
- securestring.cs
- ButtonChrome.cs
- _AutoWebProxyScriptHelper.cs
- WorkflowInspectionServices.cs
- EventSchemaTraceListener.cs
- MouseGesture.cs
- ImageFormat.cs
- HMACSHA512.cs
- Freezable.cs
- MessageBox.cs
- InteropTrackingRecord.cs
- XmlName.cs
- DataServicePagingProviderWrapper.cs
- StructuredProperty.cs
- Scripts.cs
- DataGridViewRowHeaderCell.cs
- DataColumnChangeEvent.cs
- HtmlTitle.cs
- WindowsIPAddress.cs
- SQLStringStorage.cs
- XmlChildNodes.cs
- PeerNameRegistration.cs
- ITextView.cs
- MachinePropertyVariants.cs
- EnumUnknown.cs
- ProfileSection.cs
- SynchronousChannel.cs
- TypeSystem.cs
- MobileControlPersister.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WindowsStartMenu.cs
- NameValueFileSectionHandler.cs
- ColorKeyFrameCollection.cs
- ProgressBarRenderer.cs
- InternalConfigConfigurationFactory.cs
- HostVisual.cs
- UrlPath.cs
- LinqDataSourceDisposeEventArgs.cs
- BindToObject.cs
- Properties.cs
- ExpressionPrinter.cs
- SynchronizingStream.cs
- WebBaseEventKeyComparer.cs
- EventToken.cs
- HttpContextServiceHost.cs
- ViewGenerator.cs
- Stopwatch.cs
- HttpModuleAction.cs
- UrlRoutingModule.cs
- DynamicRendererThreadManager.cs
- InkSerializer.cs
- CurrentTimeZone.cs
- SafeRightsManagementHandle.cs
- XmlReader.cs
- NativeCppClassAttribute.cs
- WorkflowEnvironment.cs
- ProxyGenerator.cs
- ToolStripContainer.cs
- CellParaClient.cs
- PropertyChangedEventManager.cs
- sqlstateclientmanager.cs
- FlowLayout.cs
- webeventbuffer.cs
- TypeContext.cs