Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UpdateTracker.cs
- EntityPropertyMappingAttribute.cs
- EditorBrowsableAttribute.cs
- Property.cs
- URLMembershipCondition.cs
- SystemFonts.cs
- Invariant.cs
- Send.cs
- ManagedWndProcTracker.cs
- OdbcParameterCollection.cs
- ServiceModelConfiguration.cs
- ItemsChangedEventArgs.cs
- TreeNodeClickEventArgs.cs
- JulianCalendar.cs
- HtmlShimManager.cs
- DomainLiteralReader.cs
- TypeSystem.cs
- NativeStructs.cs
- Image.cs
- DependencyPropertyKey.cs
- EnumType.cs
- FillRuleValidation.cs
- XmlByteStreamReader.cs
- dtdvalidator.cs
- XmlAttributeAttribute.cs
- StoreAnnotationsMap.cs
- ContextProperty.cs
- CollectionDataContractAttribute.cs
- OdbcConnectionOpen.cs
- EventMappingSettings.cs
- NamespaceMapping.cs
- CodeStatement.cs
- ViewLoader.cs
- ToolStripDropDownItem.cs
- exports.cs
- LoggedException.cs
- InputReportEventArgs.cs
- HtmlTableRow.cs
- ClientTargetCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- WindowsFormsHostAutomationPeer.cs
- ReferencedCollectionType.cs
- XmlCharCheckingWriter.cs
- PictureBox.cs
- VerificationException.cs
- XmlSchemaSimpleType.cs
- ActivityExecutionContext.cs
- AutomationEvent.cs
- PrintController.cs
- ClientRuntimeConfig.cs
- WindowsEditBoxRange.cs
- DateTimeOffsetStorage.cs
- ProtectedConfiguration.cs
- TargetPerspective.cs
- QilPatternVisitor.cs
- LambdaCompiler.Statements.cs
- SqlTopReducer.cs
- _Semaphore.cs
- InvalidPropValue.cs
- SecurityTokenParameters.cs
- TextStore.cs
- WebPartConnectionCollection.cs
- ListViewGroup.cs
- SqlPersonalizationProvider.cs
- SHA1Managed.cs
- QueryCacheEntry.cs
- BamlRecordHelper.cs
- Command.cs
- LazyTextWriterCreator.cs
- HandlerBase.cs
- SqlBuilder.cs
- DataListItemCollection.cs
- DigitShape.cs
- UnsafeNativeMethods.cs
- SqlParameter.cs
- EnumBuilder.cs
- hebrewshape.cs
- SQLGuid.cs
- Int32Storage.cs
- WebFormDesignerActionService.cs
- UiaCoreProviderApi.cs
- AggregateNode.cs
- OrderByLifter.cs
- ExtractorMetadata.cs
- VerificationAttribute.cs
- RegistryKey.cs
- ListViewEditEventArgs.cs
- TreeNodeBindingCollection.cs
- ItemAutomationPeer.cs
- Schema.cs
- PerfCounters.cs
- EntityException.cs
- DateTimeConverter.cs
- WizardPanelChangingEventArgs.cs
- EntryPointNotFoundException.cs
- LogicalExpressionEditor.cs
- MissingManifestResourceException.cs
- XPathNavigatorReader.cs
- OutputCacheProfileCollection.cs
- X509RawDataKeyIdentifierClause.cs