Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeHandles.cs
- SchemaElement.cs
- SemaphoreFullException.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SqlMultiplexer.cs
- EnvironmentPermission.cs
- WindowsSecurityTokenAuthenticator.cs
- XmlCollation.cs
- PDBReader.cs
- HtmlContainerControl.cs
- InfoCardAsymmetricCrypto.cs
- TabPage.cs
- StylusPointPropertyInfo.cs
- Label.cs
- TypeSystem.cs
- _WinHttpWebProxyDataBuilder.cs
- Duration.cs
- UnsafeNativeMethods.cs
- DBSchemaTable.cs
- FixUp.cs
- _KerberosClient.cs
- _DisconnectOverlappedAsyncResult.cs
- DebuggerService.cs
- RecommendedAsConfigurableAttribute.cs
- EdmError.cs
- FormView.cs
- httpstaticobjectscollection.cs
- Tag.cs
- Repeater.cs
- ArglessEventHandlerProxy.cs
- ContainerVisual.cs
- CodeVariableDeclarationStatement.cs
- TextEditorCopyPaste.cs
- ListViewUpdatedEventArgs.cs
- ConstNode.cs
- PenThread.cs
- QueryInterceptorAttribute.cs
- InputProcessorProfiles.cs
- PointConverter.cs
- UnsafeNativeMethodsTablet.cs
- DirectoryInfo.cs
- MaskedTextBox.cs
- DocobjHost.cs
- HierarchicalDataBoundControl.cs
- PointCollectionValueSerializer.cs
- CfgSemanticTag.cs
- ColumnProvider.cs
- AsymmetricSignatureFormatter.cs
- JsonDataContract.cs
- SinglePhaseEnlistment.cs
- FixedFindEngine.cs
- DependencyPropertyValueSerializer.cs
- Matrix3DStack.cs
- RoleManagerModule.cs
- RoutedEvent.cs
- Rotation3D.cs
- TransformCollection.cs
- ControlValuePropertyAttribute.cs
- handlecollector.cs
- StrongNameMembershipCondition.cs
- HttpContext.cs
- GraphicsContainer.cs
- FormsAuthenticationUser.cs
- SoapAttributes.cs
- WindowsBrush.cs
- HierarchicalDataBoundControl.cs
- ActivityCodeDomSerializer.cs
- ReceiveSecurityHeaderEntry.cs
- LabelAutomationPeer.cs
- MultiTrigger.cs
- WebEventCodes.cs
- SerializationInfoEnumerator.cs
- PolicyImporterElementCollection.cs
- SchemaConstraints.cs
- SerializationStore.cs
- HiddenField.cs
- EventSinkHelperWriter.cs
- DataGridTable.cs
- FormViewActionList.cs
- GlobalEventManager.cs
- AstTree.cs
- MD5Cng.cs
- DbBuffer.cs
- Expr.cs
- ExpandableObjectConverter.cs
- NotificationContext.cs
- PriorityBinding.cs
- FileDialog.cs
- IPHostEntry.cs
- TreeNodeCollection.cs
- RuntimeWrappedException.cs
- SmtpAuthenticationManager.cs
- TraceHandlerErrorFormatter.cs
- InfoCard.cs
- DiffuseMaterial.cs
- ComboBoxRenderer.cs
- ContainerUIElement3D.cs
- CodeDirectiveCollection.cs
- PointCollectionConverter.cs
- ImageButton.cs