Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- mongolianshape.cs
- SubstitutionList.cs
- SimpleTextLine.cs
- MergeEnumerator.cs
- FileFormatException.cs
- FontWeights.cs
- HtmlInputReset.cs
- TargetParameterCountException.cs
- PrinterResolution.cs
- ColorConverter.cs
- WebServiceResponse.cs
- UDPClient.cs
- VectorAnimationUsingKeyFrames.cs
- ServiceParser.cs
- NotifyCollectionChangedEventArgs.cs
- DocumentReference.cs
- CmsInterop.cs
- MultiViewDesigner.cs
- CommonDialog.cs
- DbConnectionOptions.cs
- IChannel.cs
- SnapshotChangeTrackingStrategy.cs
- HttpHandlersSection.cs
- ByteAnimationBase.cs
- DataGridViewCellEventArgs.cs
- OleDbStruct.cs
- DBCommandBuilder.cs
- HostingEnvironmentException.cs
- MembershipPasswordException.cs
- DataGridPagerStyle.cs
- IndependentlyAnimatedPropertyMetadata.cs
- UIElementIsland.cs
- GeneralTransform3DGroup.cs
- PersonalizationProviderCollection.cs
- RequestBringIntoViewEventArgs.cs
- COM2Properties.cs
- DSASignatureFormatter.cs
- PolyLineSegmentFigureLogic.cs
- OleDbInfoMessageEvent.cs
- Triplet.cs
- ObjectStateFormatter.cs
- WinEventQueueItem.cs
- DetailsViewAutoFormat.cs
- DetailsViewDeleteEventArgs.cs
- ObjectListGeneralPage.cs
- IndexerNameAttribute.cs
- CodeSnippetTypeMember.cs
- TimeSpanValidator.cs
- QilList.cs
- DataGridTableCollection.cs
- SymbolType.cs
- OracleParameterBinding.cs
- SafeMarshalContext.cs
- compensatingcollection.cs
- ExpressionLexer.cs
- GridViewHeaderRowPresenter.cs
- DataRowView.cs
- BinaryUtilClasses.cs
- EventPropertyMap.cs
- LinqDataSourceView.cs
- Int16AnimationBase.cs
- PixelFormatConverter.cs
- NativeMethods.cs
- XmlTypeAttribute.cs
- MonitorWrapper.cs
- CqlWriter.cs
- EncoderBestFitFallback.cs
- SqlDataSourceQueryEditorForm.cs
- OneOfScalarConst.cs
- FontResourceCache.cs
- Method.cs
- MultilineStringEditor.cs
- Update.cs
- IHttpResponseInternal.cs
- CompModSwitches.cs
- TemplateBindingExtension.cs
- DoubleUtil.cs
- DbException.cs
- LineProperties.cs
- ReadOnlyKeyedCollection.cs
- ExeConfigurationFileMap.cs
- BorderGapMaskConverter.cs
- CreateParams.cs
- StringDictionary.cs
- AnnouncementEndpointElement.cs
- SqlUdtInfo.cs
- InvokeGenerator.cs
- XsdBuilder.cs
- LinearGradientBrush.cs
- LogLogRecordEnumerator.cs
- SmtpFailedRecipientException.cs
- DataGridColumnReorderingEventArgs.cs
- ConnectionStringSettings.cs
- LinqDataSourceUpdateEventArgs.cs
- ToolBarOverflowPanel.cs
- DataServiceRequestArgs.cs
- RowType.cs
- EntityCollectionChangedParams.cs
- EmptyQuery.cs
- ViewRendering.cs