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
- ActivityInstanceReference.cs
- CapabilitiesSection.cs
- ScriptDescriptor.cs
- WindowPattern.cs
- RegularExpressionValidator.cs
- Listbox.cs
- Trigger.cs
- RegularExpressionValidator.cs
- CachedPathData.cs
- NGCPageContentCollectionSerializerAsync.cs
- StoreContentChangedEventArgs.cs
- SessionEndedEventArgs.cs
- TransportSecurityBindingElement.cs
- IdleTimeoutMonitor.cs
- TreeNodeSelectionProcessor.cs
- FontFamilyIdentifier.cs
- ResourceDisplayNameAttribute.cs
- FontStretches.cs
- NameTable.cs
- SoundPlayerAction.cs
- DrawListViewSubItemEventArgs.cs
- RadioButton.cs
- Table.cs
- Transform.cs
- QilVisitor.cs
- CheckBoxRenderer.cs
- SettingsSavedEventArgs.cs
- ModifierKeysValueSerializer.cs
- DBBindings.cs
- DataSvcMapFile.cs
- WebPartDescriptionCollection.cs
- ContractComponent.cs
- TraceData.cs
- CompilerLocalReference.cs
- ToolStripComboBox.cs
- XmlWrappingReader.cs
- EmptyElement.cs
- UIPropertyMetadata.cs
- WebPartUtil.cs
- RelativeSource.cs
- FieldAccessException.cs
- DataGridViewMethods.cs
- PerformanceCountersElement.cs
- CodeGotoStatement.cs
- processwaithandle.cs
- InheritanceAttribute.cs
- login.cs
- ConfigurationElement.cs
- TextEmbeddedObject.cs
- ProviderCommandInfoUtils.cs
- ToolStripSplitButton.cs
- QueryStringParameter.cs
- CompModSwitches.cs
- InvokeMethodActivity.cs
- WebPartsPersonalizationAuthorization.cs
- ObjectDataSourceStatusEventArgs.cs
- KeyGesture.cs
- CodeDirectiveCollection.cs
- TemplateKeyConverter.cs
- TiffBitmapDecoder.cs
- ObjectReaderCompiler.cs
- ModelPropertyDescriptor.cs
- MultitargetUtil.cs
- EventRoute.cs
- ResourceIDHelper.cs
- RemoteDebugger.cs
- XmlSchemaExternal.cs
- MonitorWrapper.cs
- ResXBuildProvider.cs
- RightsController.cs
- ZoneButton.cs
- SizeValueSerializer.cs
- InputManager.cs
- ComponentSerializationService.cs
- MatrixValueSerializer.cs
- OneOfConst.cs
- SQLRoleProvider.cs
- _NegoState.cs
- ZipIOExtraFieldElement.cs
- SiteMapNode.cs
- ElementHostAutomationPeer.cs
- ExtensibleClassFactory.cs
- BrowserCapabilitiesFactoryBase.cs
- DesigntimeLicenseContextSerializer.cs
- LocationReferenceValue.cs
- MostlySingletonList.cs
- UrlParameterWriter.cs
- ReachDocumentPageSerializerAsync.cs
- XmlMemberMapping.cs
- TransformDescriptor.cs
- WindowsImpersonationContext.cs
- TemplateAction.cs
- PageBuildProvider.cs
- EntitySqlQueryCacheKey.cs
- OleDbParameter.cs
- Rotation3D.cs
- BaseAsyncResult.cs
- DesignerAttribute.cs
- ParseElementCollection.cs
- MatrixTransform3D.cs