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
- Exceptions.cs
- UnionExpr.cs
- FigureHelper.cs
- DataSourceSelectArguments.cs
- SqlProfileProvider.cs
- EditorZone.cs
- ReadOnlyTernaryTree.cs
- XNodeNavigator.cs
- ChangeToolStripParentVerb.cs
- AliasExpr.cs
- SiteMapNodeItem.cs
- BaseContextMenu.cs
- ProtocolsConfiguration.cs
- XmlDeclaration.cs
- XmlSchemaComplexContent.cs
- TimeSpanOrInfiniteConverter.cs
- UnsafeNativeMethods.cs
- RecognizerInfo.cs
- VBIdentifierName.cs
- WebPartMovingEventArgs.cs
- VisualStyleRenderer.cs
- DeferredTextReference.cs
- Rijndael.cs
- SqlDataSourceStatusEventArgs.cs
- DataSourceNameHandler.cs
- TypeSystemHelpers.cs
- CompiledRegexRunnerFactory.cs
- SimpleMailWebEventProvider.cs
- PerformanceCounterManager.cs
- PointF.cs
- ArcSegment.cs
- BatchStream.cs
- TransactedReceiveScope.cs
- Positioning.cs
- XmlConvert.cs
- BindingManagerDataErrorEventArgs.cs
- WorkflowRuntimeElement.cs
- SortableBindingList.cs
- MessageFilterTable.cs
- TextEndOfSegment.cs
- SecurityElement.cs
- MulticastIPAddressInformationCollection.cs
- IdentityValidationException.cs
- DebugControllerThread.cs
- TimerExtension.cs
- ClientUtils.cs
- TaskFileService.cs
- InfoCardBaseException.cs
- XmlCollation.cs
- SQLGuid.cs
- UIPermission.cs
- AnnotationService.cs
- MimeParameter.cs
- ADConnectionHelper.cs
- RegistryPermission.cs
- TableParaClient.cs
- BufferedWebEventProvider.cs
- Keywords.cs
- ThreadExceptionEvent.cs
- FixedSchema.cs
- JavascriptCallbackBehaviorAttribute.cs
- RoleManagerEventArgs.cs
- BulletedListEventArgs.cs
- CursorConverter.cs
- DataGridViewCellStyleConverter.cs
- HealthMonitoringSectionHelper.cs
- PersistenceParticipant.cs
- SparseMemoryStream.cs
- DesignerLabelAdapter.cs
- ProxyHelper.cs
- CalendarDay.cs
- QuaternionAnimation.cs
- XmlSchemaDocumentation.cs
- MergePropertyDescriptor.cs
- util.cs
- KernelTypeValidation.cs
- RangeExpression.cs
- DescendentsWalker.cs
- SourceItem.cs
- UnsafeNativeMethods.cs
- StrongNameIdentityPermission.cs
- OneOf.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ResourceDefaultValueAttribute.cs
- SafeSecurityHelper.cs
- SimpleMailWebEventProvider.cs
- KnownColorTable.cs
- KeyPressEvent.cs
- RelationshipConverter.cs
- SiteOfOriginContainer.cs
- XmlAttributeAttribute.cs
- EventRouteFactory.cs
- NetStream.cs
- ComplexTypeEmitter.cs
- MetadataUtilsSmi.cs
- ConfigXmlReader.cs
- invalidudtexception.cs
- Byte.cs
- UMPAttributes.cs
- InfoCardRSAPKCS1SignatureFormatter.cs