Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / HandlerWithFactory.cs / 1305376 / 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
- ExpressionParser.cs
- PageEventArgs.cs
- EntityDataSourceViewSchema.cs
- FamilyCollection.cs
- documentsequencetextview.cs
- ShaperBuffers.cs
- AppSettings.cs
- CellTreeNode.cs
- CompilerResults.cs
- MessagePartDescriptionCollection.cs
- UpdateExpressionVisitor.cs
- HtmlLiteralTextAdapter.cs
- BindingUtils.cs
- OpacityConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- MessageBox.cs
- Point.cs
- Vector.cs
- SafeSystemMetrics.cs
- WindowsFont.cs
- InputMethodStateTypeInfo.cs
- OdbcParameterCollection.cs
- CredentialCache.cs
- EmptyReadOnlyDictionaryInternal.cs
- XmlDocumentFragment.cs
- ViewSimplifier.cs
- JsonClassDataContract.cs
- CompositionTarget.cs
- NavigationHelper.cs
- Membership.cs
- Executor.cs
- WeakReferenceEnumerator.cs
- ElementFactory.cs
- StringSorter.cs
- TypedRowHandler.cs
- SerializationException.cs
- HandlerBase.cs
- IteratorFilter.cs
- HeaderUtility.cs
- ScrollBarAutomationPeer.cs
- EqualityComparer.cs
- HttpDebugHandler.cs
- KeyConverter.cs
- ChangesetResponse.cs
- SymbolMethod.cs
- XmlILIndex.cs
- SqlCacheDependencySection.cs
- DataProtection.cs
- GridViewColumnHeaderAutomationPeer.cs
- EventSourceCreationData.cs
- DuplicateMessageDetector.cs
- GetCertificateRequest.cs
- OleDbRowUpdatedEvent.cs
- Geometry.cs
- RadialGradientBrush.cs
- GradientBrush.cs
- URLMembershipCondition.cs
- CleanUpVirtualizedItemEventArgs.cs
- NetworkStream.cs
- Slider.cs
- DataGridViewComboBoxColumn.cs
- WebControlAdapter.cs
- SqlInternalConnectionTds.cs
- DbProviderFactory.cs
- UnsafeNativeMethods.cs
- PropertyItemInternal.cs
- EntitySetDataBindingList.cs
- ListManagerBindingsCollection.cs
- hebrewshape.cs
- XPathNavigator.cs
- unsafenativemethodsother.cs
- HealthMonitoringSectionHelper.cs
- AssemblyNameUtility.cs
- AddressAlreadyInUseException.cs
- SecurityAppliedMessage.cs
- TreeNodeEventArgs.cs
- SignedXml.cs
- KeyBinding.cs
- BitSet.cs
- EntityDataSourceDataSelection.cs
- XmlElementCollection.cs
- InteropAutomationProvider.cs
- Invariant.cs
- ResourceCategoryAttribute.cs
- Positioning.cs
- SocketManager.cs
- ListView.cs
- WindowsRichEdit.cs
- MimeTypeMapper.cs
- IDQuery.cs
- ManifestResourceInfo.cs
- Converter.cs
- XmlSchemaAnyAttribute.cs
- PropertyGrid.cs
- RoleManagerSection.cs
- __Filters.cs
- DateTimeFormatInfoScanner.cs
- CachingHintValidation.cs
- ListItemCollection.cs
- ContextBase.cs