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
- ClientUtils.cs
- SHA1CryptoServiceProvider.cs
- ProcessingInstructionAction.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Baml6Assembly.cs
- TraceHandler.cs
- RepeatButton.cs
- FormsAuthenticationConfiguration.cs
- ReliabilityContractAttribute.cs
- ComboBox.cs
- DesignerTransactionCloseEvent.cs
- TextElementEditingBehaviorAttribute.cs
- RtfFormatStack.cs
- LineBreakRecord.cs
- ImmutableAssemblyCacheEntry.cs
- LabelEditEvent.cs
- MemoryMappedView.cs
- UpdatePanel.cs
- Empty.cs
- XmlIlTypeHelper.cs
- RefreshInfo.cs
- RecommendedAsConfigurableAttribute.cs
- DoubleLink.cs
- BufferedGraphics.cs
- SerializationAttributes.cs
- CursorConverter.cs
- x509store.cs
- BaseCollection.cs
- HybridDictionary.cs
- ComponentDispatcher.cs
- InvalidAsynchronousStateException.cs
- XmlReflectionImporter.cs
- LabelAutomationPeer.cs
- _SpnDictionary.cs
- EventsTab.cs
- CharKeyFrameCollection.cs
- DataStreamFromComStream.cs
- XmlSchemaAny.cs
- _TimerThread.cs
- PhonemeConverter.cs
- XPathNodeIterator.cs
- Rule.cs
- TdsParserStaticMethods.cs
- ContentPlaceHolder.cs
- Types.cs
- ContextMarshalException.cs
- CompilerLocalReference.cs
- HotCommands.cs
- WebPartDisplayModeCancelEventArgs.cs
- Trace.cs
- CompiledIdentityConstraint.cs
- DataGridTextBox.cs
- KnownTypesProvider.cs
- Attributes.cs
- HttpRawResponse.cs
- CatalogPartChrome.cs
- DataSourceXmlSubItemAttribute.cs
- RuntimeConfig.cs
- PersistChildrenAttribute.cs
- CustomTypeDescriptor.cs
- StrokeNodeOperations2.cs
- InstanceDataCollectionCollection.cs
- CodeCompiler.cs
- HyperLink.cs
- LinqDataSourceEditData.cs
- AppDomainUnloadedException.cs
- ImportException.cs
- Pens.cs
- HotSpotCollection.cs
- TextTreeFixupNode.cs
- DocumentCollection.cs
- StrokeCollection2.cs
- StylusButton.cs
- RetrieveVirtualItemEventArgs.cs
- JsonQNameDataContract.cs
- NotFiniteNumberException.cs
- QuaternionAnimation.cs
- ConnectionStringEditor.cs
- AsyncDataRequest.cs
- PropertyRecord.cs
- InputLanguageManager.cs
- SeparatorAutomationPeer.cs
- PageParser.cs
- TextCharacters.cs
- ConstraintCollection.cs
- Listen.cs
- WindowsSlider.cs
- AdditionalEntityFunctions.cs
- BuildResultCache.cs
- DebugHandleTracker.cs
- EventBuilder.cs
- Avt.cs
- CodePageEncoding.cs
- ControlBindingsCollection.cs
- BinaryMethodMessage.cs
- PrinterResolution.cs
- FileSecurity.cs
- mediaclock.cs
- PropertyEmitterBase.cs
- ModifierKeysConverter.cs