Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ //// 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
- ZipPackage.cs
- SmtpClient.cs
- TrackingProfileSerializer.cs
- Bidi.cs
- ExpressionBuilder.cs
- GridLengthConverter.cs
- Descriptor.cs
- ExceptionCollection.cs
- XmlSchemaSimpleContentExtension.cs
- InternalConfigEventArgs.cs
- ParserContext.cs
- MsmqMessage.cs
- TextServicesDisplayAttribute.cs
- ThreadExceptionEvent.cs
- ContentIterators.cs
- FilePrompt.cs
- WorkflowPrinting.cs
- DbQueryCommandTree.cs
- BackgroundWorker.cs
- SpnegoTokenAuthenticator.cs
- SelectedGridItemChangedEvent.cs
- QilStrConcatenator.cs
- BulletedList.cs
- FormViewRow.cs
- DataGridViewColumnConverter.cs
- DrawingCollection.cs
- ExpressionPrinter.cs
- AnnotationAdorner.cs
- SchemaImporterExtensionElement.cs
- shaper.cs
- Walker.cs
- ContainsRowNumberChecker.cs
- PropertyGridCommands.cs
- StringValueConverter.cs
- AnimationLayer.cs
- SymbolType.cs
- Operators.cs
- FrameworkElementAutomationPeer.cs
- FrameworkObject.cs
- MenuAutoFormat.cs
- InfoCardRSACryptoProvider.cs
- TextTreeInsertUndoUnit.cs
- MexHttpsBindingElement.cs
- SplayTreeNode.cs
- Converter.cs
- SamlAction.cs
- safemediahandle.cs
- TreeNodeConverter.cs
- AssemblyAttributes.cs
- WebExceptionStatus.cs
- processwaithandle.cs
- NonceCache.cs
- AssemblyBuilder.cs
- IdnMapping.cs
- DetailsViewActionList.cs
- Visual3D.cs
- EdmSchemaError.cs
- MethodSignatureGenerator.cs
- Wildcard.cs
- MethodCallExpression.cs
- RemotingConfiguration.cs
- IisTraceListener.cs
- IssuanceLicense.cs
- WebUtil.cs
- SettingsProviderCollection.cs
- ModelFunction.cs
- InfoCardCryptoHelper.cs
- NameObjectCollectionBase.cs
- FixedTextBuilder.cs
- LambdaCompiler.Binary.cs
- ContextMenuService.cs
- ColumnCollection.cs
- BitmapEffectInputConnector.cs
- CommandBinding.cs
- XmlReaderSettings.cs
- ObjectSpanRewriter.cs
- _NetworkingPerfCounters.cs
- Cloud.cs
- Object.cs
- InstanceDataCollection.cs
- FamilyTypeface.cs
- Stylus.cs
- XmlSchemaDatatype.cs
- WSDualHttpBindingCollectionElement.cs
- PTConverter.cs
- DebugController.cs
- HistoryEventArgs.cs
- Configuration.cs
- ExternalFile.cs
- HitTestFilterBehavior.cs
- MemberNameValidator.cs
- Trigger.cs
- CapabilitiesRule.cs
- CoreSwitches.cs
- RewritingValidator.cs
- TextSelectionProcessor.cs
- Object.cs
- shaperfactoryquerycachekey.cs
- ContainerVisual.cs
- DataGridColumnCollection.cs