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
- XmlNamespaceManager.cs
- DrawingImage.cs
- BitStack.cs
- EdmTypeAttribute.cs
- SafeEventLogReadHandle.cs
- SwitchElementsCollection.cs
- VirtualDirectoryMapping.cs
- SqlDeflator.cs
- PictureBox.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ExecutionEngineException.cs
- SimpleMailWebEventProvider.cs
- AuthenticationManager.cs
- SqlResolver.cs
- TextElementEnumerator.cs
- CollectionViewSource.cs
- ResizeGrip.cs
- ResXBuildProvider.cs
- ListBox.cs
- DataGridViewDataConnection.cs
- Object.cs
- ValidationRuleCollection.cs
- KeyProperty.cs
- NoneExcludedImageIndexConverter.cs
- sqlmetadatafactory.cs
- BindingNavigator.cs
- ColorConverter.cs
- PersonalizationEntry.cs
- TypeExtension.cs
- HttpRuntime.cs
- SafeBitVector32.cs
- LowerCaseStringConverter.cs
- ConsumerConnectionPoint.cs
- XmlDataLoader.cs
- SQLBinary.cs
- OpCellTreeNode.cs
- ValueChangedEventManager.cs
- CurrentChangingEventManager.cs
- DataListItemEventArgs.cs
- MediaPlayerState.cs
- ValidatingPropertiesEventArgs.cs
- ListViewTableRow.cs
- BindingContext.cs
- Visitor.cs
- GetPageCompletedEventArgs.cs
- ImageResources.Designer.cs
- SmtpClient.cs
- WindowsRichEditRange.cs
- AttachedPropertyInfo.cs
- PlainXmlWriter.cs
- EffectiveValueEntry.cs
- listviewsubitemcollectioneditor.cs
- UnsafeNativeMethods.cs
- SimplePropertyEntry.cs
- TableSectionStyle.cs
- Mappings.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- SetStoryboardSpeedRatio.cs
- AutoGeneratedFieldProperties.cs
- XmlSchemaProviderAttribute.cs
- FontWeights.cs
- Roles.cs
- GridView.cs
- AttributeSetAction.cs
- LogArchiveSnapshot.cs
- DbTypeMap.cs
- HtmlTableRow.cs
- OrderByQueryOptionExpression.cs
- ZoneMembershipCondition.cs
- XmlDictionaryWriter.cs
- ToolStripSplitButton.cs
- DataTableReader.cs
- AnnotationResourceChangedEventArgs.cs
- TransactionScope.cs
- ViewCellSlot.cs
- DescendantBaseQuery.cs
- HwndSourceParameters.cs
- CqlParserHelpers.cs
- StylusSystemGestureEventArgs.cs
- DynamicActivityProperty.cs
- Line.cs
- DictionarySectionHandler.cs
- CustomAttributeFormatException.cs
- WpfSharedXamlSchemaContext.cs
- StylusShape.cs
- ResourcePool.cs
- MemberInfoSerializationHolder.cs
- UmAlQuraCalendar.cs
- XmlNamespaceDeclarationsAttribute.cs
- MetadataArtifactLoaderComposite.cs
- MatrixTransform3D.cs
- XmlWriter.cs
- CheckedListBox.cs
- RoutingExtension.cs
- StatusBarPanelClickEvent.cs
- VirtualPathData.cs
- ItemsPresenter.cs
- ACL.cs
- BypassElement.cs
- LogicalExpr.cs