Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CommandBindingCollection.cs
- AppDomainFactory.cs
- SimpleNameService.cs
- SwitchAttribute.cs
- SevenBitStream.cs
- CallbackHandler.cs
- IdentityNotMappedException.cs
- SafeNativeMethods.cs
- CryptoConfig.cs
- __Filters.cs
- Timer.cs
- SoapSchemaImporter.cs
- UniqueIdentifierService.cs
- DbConnectionPoolGroup.cs
- HttpContext.cs
- Variant.cs
- CanonicalXml.cs
- _OverlappedAsyncResult.cs
- SqlDataSourceEnumerator.cs
- OptionalRstParameters.cs
- BufferBuilder.cs
- SelectionHighlightInfo.cs
- WebConfigurationHostFileChange.cs
- ScrollBarRenderer.cs
- SqlDataSourceView.cs
- PageThemeCodeDomTreeGenerator.cs
- DeploymentSection.cs
- MSG.cs
- SiteOfOriginPart.cs
- DrawTreeNodeEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- dataSvcMapFileLoader.cs
- WindowsGraphics2.cs
- WebUtil.cs
- DecoratedNameAttribute.cs
- ExecutionContext.cs
- FrameSecurityDescriptor.cs
- XmlCharacterData.cs
- If.cs
- ToggleButtonAutomationPeer.cs
- ColorDialog.cs
- DetailsViewPagerRow.cs
- NavigationPropertyEmitter.cs
- ApplicationException.cs
- GlyphElement.cs
- SqlRecordBuffer.cs
- PermissionSetEnumerator.cs
- NativeMethods.cs
- AssociationSetMetadata.cs
- Rfc2898DeriveBytes.cs
- SqlDataReaderSmi.cs
- ConvertersCollection.cs
- StructuredType.cs
- EndCreateSecurityTokenRequest.cs
- ParameterBuilder.cs
- DependencyObjectPropertyDescriptor.cs
- JsonStringDataContract.cs
- ApplicationFileCodeDomTreeGenerator.cs
- AspNetSynchronizationContext.cs
- OpCopier.cs
- FontDialog.cs
- FontInfo.cs
- PropertyValueChangedEvent.cs
- IgnoreFileBuildProvider.cs
- InputScope.cs
- DataGridTablesFactory.cs
- SqlError.cs
- WebPartDescription.cs
- OleDbConnection.cs
- PersonalizableTypeEntry.cs
- SoapUnknownHeader.cs
- HttpHandlerAction.cs
- OdbcHandle.cs
- Privilege.cs
- InstanceNotReadyException.cs
- CallTemplateAction.cs
- ObjectTypeMapping.cs
- BaseCodeDomTreeGenerator.cs
- ObjectTag.cs
- ReferencedCollectionType.cs
- DataGridHeaderBorder.cs
- StringArrayConverter.cs
- ProfileParameter.cs
- ReadOnlyAttribute.cs
- ParallelTimeline.cs
- FacetDescriptionElement.cs
- RelationshipNavigation.cs
- UInt64Storage.cs
- Container.cs
- ActivityExecutorDelegateInfo.cs
- Latin1Encoding.cs
- WebEventCodes.cs
- RSAPKCS1SignatureFormatter.cs
- WindowShowOrOpenTracker.cs
- CommandValueSerializer.cs
- PropertyEmitterBase.cs
- ResXResourceSet.cs
- DecimalAnimation.cs
- PeerName.cs
- ClaimTypes.cs