Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / OutputCacheProviderCollection.cs / 1305376 / OutputCacheProviderCollection.cs
using System; using System.Configuration.Provider; using System.Security.Permissions; using System.Web; namespace System.Web.Caching { public sealed class OutputCacheProviderCollection : ProviderCollection { new public OutputCacheProvider this[string name] { get { return (OutputCacheProvider) base[name]; } } public override void Add(ProviderBase provider) { if (provider == null) { throw new ArgumentNullException( "provider" ); } if (!(provider is OutputCacheProvider)) { throw new ArgumentException(SR.GetString(SR.Provider_must_implement_type, typeof(OutputCacheProvider).Name), "provider"); } base.Add(provider); } public void CopyTo(OutputCacheProvider[] array, int index) { base.CopyTo(array, index); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Configuration.Provider; using System.Security.Permissions; using System.Web; namespace System.Web.Caching { public sealed class OutputCacheProviderCollection : ProviderCollection { new public OutputCacheProvider this[string name] { get { return (OutputCacheProvider) base[name]; } } public override void Add(ProviderBase provider) { if (provider == null) { throw new ArgumentNullException( "provider" ); } if (!(provider is OutputCacheProvider)) { throw new ArgumentException(SR.GetString(SR.Provider_must_implement_type, typeof(OutputCacheProvider).Name), "provider"); } base.Add(provider); } public void CopyTo(OutputCacheProvider[] array, int index) { base.CopyTo(array, index); } } } // 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
- ThreadStaticAttribute.cs
- MsmqException.cs
- TcpProcessProtocolHandler.cs
- SpotLight.cs
- IncrementalReadDecoders.cs
- IndexedGlyphRun.cs
- SqlDataSourceQueryEditorForm.cs
- CollectionViewSource.cs
- ProfessionalColorTable.cs
- bidPrivateBase.cs
- SystemWebCachingSectionGroup.cs
- CompressStream.cs
- GridSplitterAutomationPeer.cs
- altserialization.cs
- PaperSource.cs
- MulticastDelegate.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- SkipStoryboardToFill.cs
- SizeChangedEventArgs.cs
- BindingListCollectionView.cs
- ChtmlLinkAdapter.cs
- DynamicRendererThreadManager.cs
- WebServiceParameterData.cs
- TextElementEditingBehaviorAttribute.cs
- PassportAuthenticationEventArgs.cs
- View.cs
- VisualStateManager.cs
- Cursor.cs
- FixedDocument.cs
- Socket.cs
- Object.cs
- DoubleCollectionValueSerializer.cs
- TypeExtensionConverter.cs
- COMException.cs
- DummyDataSource.cs
- _ShellExpression.cs
- BaseParaClient.cs
- ZipIOBlockManager.cs
- CompositeFontFamily.cs
- Confirm.cs
- TimerEventSubscription.cs
- PerfCounterSection.cs
- MimeTypePropertyAttribute.cs
- IfAction.cs
- MatrixCamera.cs
- RootProfilePropertySettingsCollection.cs
- ListItemCollection.cs
- OTFRasterizer.cs
- SafeMILHandle.cs
- SmtpTransport.cs
- ThreadExceptionEvent.cs
- PropertyGridView.cs
- PrefixQName.cs
- GPRECT.cs
- SessionParameter.cs
- DataGridViewCellLinkedList.cs
- CalloutQueueItem.cs
- QilGenerator.cs
- ToReply.cs
- DrawingServices.cs
- sqlmetadatafactory.cs
- RSAPKCS1SignatureDeformatter.cs
- altserialization.cs
- DataGridViewToolTip.cs
- TableItemStyle.cs
- ViewBase.cs
- __TransparentProxy.cs
- ChtmlPhoneCallAdapter.cs
- XsdValidatingReader.cs
- QilInvokeEarlyBound.cs
- Trace.cs
- CircleHotSpot.cs
- StatusBarPanelClickEvent.cs
- AutomationPropertyInfo.cs
- TextOutput.cs
- ListenerConfig.cs
- RectAnimationUsingKeyFrames.cs
- LinearGradientBrush.cs
- XmlWellformedWriterHelpers.cs
- XmlToDatasetMap.cs
- DocumentGrid.cs
- XPathAncestorIterator.cs
- BitmapFrame.cs
- BitmapMetadataEnumerator.cs
- TrackingStringDictionary.cs
- WebPartConnectionsConnectVerb.cs
- CircleHotSpot.cs
- FixedPageStructure.cs
- SecurityPermission.cs
- DuplexClientBase.cs
- OdbcConnectionString.cs
- Ray3DHitTestResult.cs
- StringSorter.cs
- DataGrid.cs
- PageOutputQuality.cs
- HwndSourceParameters.cs
- ConfigurationPropertyAttribute.cs
- FirstQueryOperator.cs
- InheritanceContextHelper.cs
- InvalidCommandTreeException.cs