Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / HandlerWithFactory.cs / 1305376 / 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
- UserPersonalizationStateInfo.cs
- TypeGenericEnumerableViewSchema.cs
- RepeaterItem.cs
- Msec.cs
- JsonDataContract.cs
- WebPartExportVerb.cs
- RectangleConverter.cs
- XmlSchemaDocumentation.cs
- DataSourceHelper.cs
- RoutingTable.cs
- DataGridViewTextBoxEditingControl.cs
- LinkedList.cs
- _Win32.cs
- PerformanceCounterScope.cs
- SqlGatherProducedAliases.cs
- ResourceCollectionInfo.cs
- FrameworkContentElement.cs
- CollectionEditVerbManager.cs
- XmlAttributes.cs
- OperandQuery.cs
- ObjectQuery.cs
- OutOfProcStateClientManager.cs
- EncodingInfo.cs
- SplashScreen.cs
- ResourceManager.cs
- ApplicationServicesHostFactory.cs
- OneOfTypeConst.cs
- TraceSwitch.cs
- TextOnlyOutput.cs
- GetChildSubtree.cs
- Visitors.cs
- DataObject.cs
- GlobalProxySelection.cs
- ColumnMapCopier.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- RecordManager.cs
- DbDataRecord.cs
- PopupRoot.cs
- TypeDescriptor.cs
- _NativeSSPI.cs
- ValueSerializerAttribute.cs
- DirectionalLight.cs
- SessionStateSection.cs
- AutomationElementCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- KeyManager.cs
- HelpInfo.cs
- XPathPatternParser.cs
- EntryWrittenEventArgs.cs
- FacetDescriptionElement.cs
- DBParameter.cs
- ControlAdapter.cs
- Currency.cs
- Activity.cs
- PageAsyncTaskManager.cs
- CacheRequest.cs
- MonitoringDescriptionAttribute.cs
- ValidationSummaryDesigner.cs
- DataBinding.cs
- DbTransaction.cs
- DiscoveryReferences.cs
- ProtocolsConfiguration.cs
- BulletedList.cs
- QueryGeneratorBase.cs
- ConsoleCancelEventArgs.cs
- XmlSiteMapProvider.cs
- SizeChangedInfo.cs
- WeakReference.cs
- MediaTimeline.cs
- UnmanagedMemoryAccessor.cs
- Behavior.cs
- InitializationEventAttribute.cs
- WindowsListView.cs
- GenericIdentity.cs
- DocumentApplication.cs
- DocumentViewerBaseAutomationPeer.cs
- WmlFormAdapter.cs
- HttpRequestContext.cs
- ObjectCloneHelper.cs
- ContainerParaClient.cs
- NetworkStream.cs
- DataGridBeginningEditEventArgs.cs
- StreamWithDictionary.cs
- HtmlControlAdapter.cs
- RightsDocument.cs
- Mutex.cs
- FixedSOMPage.cs
- StoreAnnotationsMap.cs
- ApplicationSecurityInfo.cs
- IdentityManager.cs
- FileLevelControlBuilderAttribute.cs
- Brush.cs
- PackageDigitalSignatureManager.cs
- UInt16.cs
- RadioButtonList.cs
- DataBoundControlHelper.cs
- DataContractJsonSerializer.cs
- DragStartedEventArgs.cs
- Wizard.cs
- OleDbDataReader.cs