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
- DataGridViewTextBoxEditingControl.cs
- GetUserPreferenceRequest.cs
- ContextProperty.cs
- ConfigurationLockCollection.cs
- DataKey.cs
- SqlTriggerAttribute.cs
- DataGridViewCellStyleConverter.cs
- KeyTime.cs
- ExternalException.cs
- WindowsRichEditRange.cs
- PriorityItem.cs
- AssemblyCache.cs
- ClockGroup.cs
- AppDomainAttributes.cs
- StickyNoteContentControl.cs
- EnumType.cs
- HtmlInputPassword.cs
- _FtpDataStream.cs
- HitTestDrawingContextWalker.cs
- ContextMenuStripGroupCollection.cs
- ListViewInsertedEventArgs.cs
- DSGeneratorProblem.cs
- FrameworkElementFactoryMarkupObject.cs
- FormsAuthenticationUser.cs
- TabletDeviceInfo.cs
- MILUtilities.cs
- TextDpi.cs
- WorkflowInstanceSuspendedRecord.cs
- PipeSecurity.cs
- AsymmetricSignatureFormatter.cs
- RootAction.cs
- StartUpEventArgs.cs
- DesignerCategoryAttribute.cs
- cookieexception.cs
- DescendantOverDescendantQuery.cs
- MulticastNotSupportedException.cs
- PerformanceCountersElement.cs
- DesignTimeType.cs
- SocketElement.cs
- GlobalizationSection.cs
- DescendantBaseQuery.cs
- DefaultBinder.cs
- ExceptionValidationRule.cs
- SqlDataSourceCache.cs
- FileDialog_Vista.cs
- HttpPostedFile.cs
- ParsedAttributeCollection.cs
- DataViewListener.cs
- ClientScriptManagerWrapper.cs
- TextContainerChangeEventArgs.cs
- Exception.cs
- Int32.cs
- SafeEventLogReadHandle.cs
- ListViewItemMouseHoverEvent.cs
- GlobalizationSection.cs
- MessageSecurityOverMsmqElement.cs
- Evaluator.cs
- ActivationArguments.cs
- BitmapCacheBrush.cs
- EntitySqlQueryBuilder.cs
- TextTreeInsertElementUndoUnit.cs
- QueryOperationResponseOfT.cs
- ScriptingJsonSerializationSection.cs
- Size.cs
- ExternalFile.cs
- SolidColorBrush.cs
- CryptoKeySecurity.cs
- WebPartEditorCancelVerb.cs
- CustomError.cs
- MailDefinition.cs
- EllipticalNodeOperations.cs
- XmlSignificantWhitespace.cs
- XmlAttributeProperties.cs
- XmlSchemaExporter.cs
- SchemaCollectionPreprocessor.cs
- UnsafeNativeMethods.cs
- Pair.cs
- OneOf.cs
- SignatureConfirmations.cs
- CodeDOMProvider.cs
- ApplicationHost.cs
- WeakHashtable.cs
- Lease.cs
- DebugView.cs
- CustomAttributeBuilder.cs
- TemplateBuilder.cs
- WebPartVerbCollection.cs
- DataGridViewComboBoxCell.cs
- ResourceAssociationTypeEnd.cs
- EditorPartCollection.cs
- HtmlInputRadioButton.cs
- PixelFormat.cs
- MethodAccessException.cs
- ResourceExpression.cs
- ToggleButtonAutomationPeer.cs
- ThousandthOfEmRealDoubles.cs
- GridSplitterAutomationPeer.cs
- COMException.cs
- PasswordBoxAutomationPeer.cs
- SQLBinaryStorage.cs