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
- TagMapInfo.cs
- Dump.cs
- RuntimeVariableList.cs
- ConfigurationSettings.cs
- TextParentUndoUnit.cs
- CompareValidator.cs
- StringSource.cs
- Model3D.cs
- Merger.cs
- TraceRecord.cs
- DataGridViewLayoutData.cs
- ButtonBase.cs
- DocumentPageView.cs
- Menu.cs
- SliderAutomationPeer.cs
- ProcessThread.cs
- DoubleAnimationBase.cs
- TimeSpan.cs
- GradientBrush.cs
- DisplayNameAttribute.cs
- ImageListStreamer.cs
- DataBindingCollection.cs
- WebContext.cs
- GlyphElement.cs
- BufferedWebEventProvider.cs
- GetImportFileNameRequest.cs
- Expander.cs
- RSACryptoServiceProvider.cs
- DataGridViewCellParsingEventArgs.cs
- CatalogPart.cs
- DbConnectionOptions.cs
- SQLByte.cs
- MethodExpr.cs
- CustomPeerResolverService.cs
- ExternalCalls.cs
- ToolStripGrip.cs
- HiddenFieldPageStatePersister.cs
- GcHandle.cs
- CoreSwitches.cs
- PerformanceCounterPermissionAttribute.cs
- ControlParameter.cs
- ToolStripAdornerWindowService.cs
- CompareInfo.cs
- UnSafeCharBuffer.cs
- CustomWebEventKey.cs
- WebPartExportVerb.cs
- BindUriHelper.cs
- ChangesetResponse.cs
- ParameterReplacerVisitor.cs
- DynamicResourceExtensionConverter.cs
- WsdlInspector.cs
- Pair.cs
- ActivityWithResult.cs
- ToggleButton.cs
- MenuStrip.cs
- _DisconnectOverlappedAsyncResult.cs
- PointValueSerializer.cs
- CompilerScopeManager.cs
- PriorityChain.cs
- SliderAutomationPeer.cs
- Int32CollectionValueSerializer.cs
- WebEvents.cs
- GridViewHeaderRowPresenter.cs
- MetaChildrenColumn.cs
- DbDataAdapter.cs
- DeliveryRequirementsAttribute.cs
- ThumbAutomationPeer.cs
- SortDescriptionCollection.cs
- StrokeCollection.cs
- UInt32.cs
- _DomainName.cs
- DrawingCollection.cs
- XslException.cs
- ChannelSinkStacks.cs
- Int32AnimationUsingKeyFrames.cs
- TaiwanCalendar.cs
- RefreshPropertiesAttribute.cs
- XmlSigningNodeWriter.cs
- FixedTextSelectionProcessor.cs
- CommonObjectSecurity.cs
- MetadataItemEmitter.cs
- FormatConvertedBitmap.cs
- TablePattern.cs
- TextProviderWrapper.cs
- CodeIdentifiers.cs
- IsolatedStorageFilePermission.cs
- ServiceContractListItemList.cs
- HtmlWindow.cs
- ExtensionDataReader.cs
- EmptyQuery.cs
- CapabilitiesState.cs
- LoginDesigner.cs
- RootBrowserWindowAutomationPeer.cs
- CodeExporter.cs
- DispatchChannelSink.cs
- MessageDecoder.cs
- TextBoxBase.cs
- Variant.cs
- CapabilitiesAssignment.cs
- _NetRes.cs