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
- IntSecurity.cs
- ErasingStroke.cs
- Tokenizer.cs
- XamlToRtfParser.cs
- InputLanguageCollection.cs
- Control.cs
- ToolStripItemClickedEventArgs.cs
- WsatRegistrationHeader.cs
- InvalidAsynchronousStateException.cs
- EntityWrapper.cs
- RoutedUICommand.cs
- ConstrainedDataObject.cs
- DataColumnCollection.cs
- HybridDictionary.cs
- Encoding.cs
- SafeLibraryHandle.cs
- MimeTextImporter.cs
- CodeTypeDeclarationCollection.cs
- MonikerBuilder.cs
- ThreadAbortException.cs
- FaultHandlingFilter.cs
- WebConfigurationFileMap.cs
- DockPanel.cs
- OutputCacheProviderCollection.cs
- TransformerConfigurationWizardBase.cs
- WSTransactionSection.cs
- SQLSingle.cs
- WindowsFormsSynchronizationContext.cs
- ConditionalAttribute.cs
- PropertyOrder.cs
- IntegerValidatorAttribute.cs
- SynchronizationContext.cs
- CalendarDataBindingHandler.cs
- UnmanagedBitmapWrapper.cs
- AsyncDataRequest.cs
- AutoResizedEvent.cs
- StrokeFIndices.cs
- DependencyPropertyConverter.cs
- StoreAnnotationsMap.cs
- ValidateNames.cs
- Exceptions.cs
- XmlHierarchicalEnumerable.cs
- TabletCollection.cs
- XmlSerializerSection.cs
- LinqDataSourceDisposeEventArgs.cs
- GridViewColumnHeaderAutomationPeer.cs
- XmlSerializerVersionAttribute.cs
- SqlDataRecord.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Utils.cs
- CommonObjectSecurity.cs
- Rotation3DKeyFrameCollection.cs
- ComponentTray.cs
- RichTextBoxConstants.cs
- MaskedTextBox.cs
- StateRuntime.cs
- MediaElement.cs
- ZoneIdentityPermission.cs
- SupportsEventValidationAttribute.cs
- MarshalDirectiveException.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- HeaderLabel.cs
- RoutedUICommand.cs
- PenLineCapValidation.cs
- SubstitutionResponseElement.cs
- Expr.cs
- BooleanFacetDescriptionElement.cs
- filewebrequest.cs
- ValidatingCollection.cs
- NewExpression.cs
- SafeNativeMethods.cs
- WebBaseEventKeyComparer.cs
- WithStatement.cs
- RelOps.cs
- Size.cs
- XmlQueryTypeFactory.cs
- BrowserCapabilitiesFactoryBase.cs
- Point3DCollectionConverter.cs
- PrintControllerWithStatusDialog.cs
- ItemsPanelTemplate.cs
- ConfigurationManagerHelper.cs
- SQLRoleProvider.cs
- WebZoneDesigner.cs
- TextTreeFixupNode.cs
- MetadataArtifactLoaderComposite.cs
- Visual3D.cs
- UseAttributeSetsAction.cs
- MemberAccessException.cs
- BmpBitmapDecoder.cs
- IsolatedStoragePermission.cs
- FormViewInsertedEventArgs.cs
- X509SubjectKeyIdentifierClause.cs
- ExtensionDataObject.cs
- ListMarkerLine.cs
- XmlSerializationReader.cs
- StringReader.cs
- ControlParameter.cs
- HttpValueCollection.cs
- RegexCompiler.cs
- CmsUtils.cs