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
- ZipIOBlockManager.cs
- BitmapCodecInfo.cs
- Binding.cs
- Soap.cs
- TextSelectionHelper.cs
- PrintPreviewControl.cs
- GcHandle.cs
- HtmlTitle.cs
- KnownTypesProvider.cs
- Substitution.cs
- FlagPanel.cs
- NumericUpDownAccelerationCollection.cs
- ResourceManager.cs
- FileAuthorizationModule.cs
- GridPatternIdentifiers.cs
- ListMarkerLine.cs
- FontStretches.cs
- Parsers.cs
- VirtualPathUtility.cs
- ObjectSpanRewriter.cs
- ForceCopyBuildProvider.cs
- ClrPerspective.cs
- EncoderParameters.cs
- ContainerVisual.cs
- Context.cs
- SecurityState.cs
- PreviewPrintController.cs
- HexParser.cs
- Condition.cs
- IgnorePropertiesAttribute.cs
- EventWaitHandleSecurity.cs
- PathFigure.cs
- ConditionalAttribute.cs
- GenericUriParser.cs
- RegularExpressionValidator.cs
- AssemblyNameProxy.cs
- SchemaInfo.cs
- XmlElementElementCollection.cs
- ComplexLine.cs
- RepeatInfo.cs
- FragmentNavigationEventArgs.cs
- ADMembershipProvider.cs
- ForeignKeyConstraint.cs
- TargetException.cs
- XmlDocumentType.cs
- TextPatternIdentifiers.cs
- InvokeGenerator.cs
- UserValidatedEventArgs.cs
- EntityContainerAssociationSetEnd.cs
- SkinBuilder.cs
- Int16Storage.cs
- Suspend.cs
- DataBinding.cs
- OrderedEnumerableRowCollection.cs
- XmlAutoDetectWriter.cs
- odbcmetadatacollectionnames.cs
- PagerSettings.cs
- Assembly.cs
- ScaleTransform3D.cs
- MethodAccessException.cs
- BackStopAuthenticationModule.cs
- CriticalHandle.cs
- filewebrequest.cs
- SamlAuthenticationStatement.cs
- FileDialogPermission.cs
- MultiTrigger.cs
- Italic.cs
- ManagementObject.cs
- HttpServerUtilityWrapper.cs
- BamlWriter.cs
- ActivityDesignerAccessibleObject.cs
- FormsIdentity.cs
- UnmanagedBitmapWrapper.cs
- DataBoundControl.cs
- BufferBuilder.cs
- TextRunCache.cs
- DescendantQuery.cs
- EventListenerClientSide.cs
- WeakReferenceList.cs
- WebConfigurationManager.cs
- DBSqlParserColumnCollection.cs
- BoolExpressionVisitors.cs
- ScriptingRoleServiceSection.cs
- RuntimeArgument.cs
- Menu.cs
- PenContexts.cs
- WasEndpointConfigContainer.cs
- TemplateBuilder.cs
- DateTimeSerializationSection.cs
- DBCommand.cs
- TreeViewItem.cs
- DocumentSignatureManager.cs
- AnnotationHighlightLayer.cs
- Serializer.cs
- OptionalRstParameters.cs
- HelpKeywordAttribute.cs
- Int16Animation.cs
- ReflectEventDescriptor.cs
- BinaryReader.cs
- PathFigureCollectionConverter.cs