Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FixedDocument.cs
- RotateTransform3D.cs
- ContentControl.cs
- RecognizedPhrase.cs
- Attributes.cs
- Slider.cs
- XmlResolver.cs
- QueryPageSettingsEventArgs.cs
- Point3DCollectionValueSerializer.cs
- CqlIdentifiers.cs
- FontConverter.cs
- ConditionCollection.cs
- DataGridCellsPresenter.cs
- _IPv6Address.cs
- Block.cs
- WmlPanelAdapter.cs
- MouseCaptureWithinProperty.cs
- SvcMapFileLoader.cs
- SerialErrors.cs
- FontFaceLayoutInfo.cs
- RTLAwareMessageBox.cs
- StylusPointDescription.cs
- ErrorEventArgs.cs
- SID.cs
- LateBoundBitmapDecoder.cs
- ListManagerBindingsCollection.cs
- AccessorTable.cs
- OleServicesContext.cs
- VisualTreeUtils.cs
- PathFigureCollection.cs
- DocumentReference.cs
- PreProcessInputEventArgs.cs
- OdbcUtils.cs
- GAC.cs
- Trace.cs
- ReversePositionQuery.cs
- UpDownBase.cs
- CodeDefaultValueExpression.cs
- MaxMessageSizeStream.cs
- SuppressMessageAttribute.cs
- DynamicRendererThreadManager.cs
- InfoCardArgumentException.cs
- ByteStorage.cs
- DataGridViewButtonCell.cs
- WebControlAdapter.cs
- CustomCategoryAttribute.cs
- TreeNodeCollection.cs
- ExpiredSecurityTokenException.cs
- ClientSideQueueItem.cs
- Attributes.cs
- HttpWebRequestElement.cs
- GenericTypeParameterBuilder.cs
- FormViewPagerRow.cs
- XmlHelper.cs
- NamespaceDecl.cs
- CharKeyFrameCollection.cs
- RuleRef.cs
- XmlSchemaComplexContentExtension.cs
- MethodCallTranslator.cs
- ManagedIStream.cs
- DeferrableContentConverter.cs
- Set.cs
- PtsPage.cs
- SeekStoryboard.cs
- FocusChangedEventArgs.cs
- DeclarativeConditionsCollection.cs
- AlternateViewCollection.cs
- SerializerWriterEventHandlers.cs
- ThemeableAttribute.cs
- FormatterServicesNoSerializableCheck.cs
- XmlNodeChangedEventArgs.cs
- BasicDesignerLoader.cs
- Visitor.cs
- DbConnectionInternal.cs
- StringArrayConverter.cs
- CorrelationActionMessageFilter.cs
- CodeTryCatchFinallyStatement.cs
- ClientConfigPaths.cs
- CultureInfoConverter.cs
- SortQuery.cs
- InfoCardTraceRecord.cs
- ErrorWebPart.cs
- CompoundFileIOPermission.cs
- BitSet.cs
- PermissionSet.cs
- XmlMembersMapping.cs
- ToolStripDropDownItem.cs
- CodePrimitiveExpression.cs
- RelatedView.cs
- PeerNearMe.cs
- ConstructorBuilder.cs
- Update.cs
- ControlPaint.cs
- StylusCollection.cs
- XamlWriter.cs
- SubMenuStyle.cs
- MarkupWriter.cs
- CodeGotoStatement.cs
- GridViewRowEventArgs.cs
- SecurityElement.cs