Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DisplayClaim.cs
- LocalizationParserHooks.cs
- ColumnCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- XmlSerializerSection.cs
- CompareValidator.cs
- ErrorFormatter.cs
- LogArchiveSnapshot.cs
- DirectoryObjectSecurity.cs
- MemberInfoSerializationHolder.cs
- TriggerCollection.cs
- ViewgenGatekeeper.cs
- SqlRowUpdatingEvent.cs
- CustomActivityDesigner.cs
- BamlLocalizationDictionary.cs
- XPathSelfQuery.cs
- SqlWorkflowPersistenceService.cs
- RubberbandSelector.cs
- RoleGroup.cs
- MessageSecurityVersion.cs
- OnOperation.cs
- ToolStripSplitButton.cs
- PersonalizationProviderHelper.cs
- ExpressionVisitor.cs
- glyphs.cs
- GridViewSortEventArgs.cs
- ThicknessConverter.cs
- RichTextBox.cs
- RunWorkerCompletedEventArgs.cs
- EngineSiteSapi.cs
- PolicyUnit.cs
- RoutingService.cs
- TextContainerHelper.cs
- UInt64Converter.cs
- DeviceContext.cs
- FunctionQuery.cs
- GridEntry.cs
- SubpageParagraph.cs
- EntityContainer.cs
- OracleTransaction.cs
- HtmlControlPersistable.cs
- XamlBrushSerializer.cs
- ErrorProvider.cs
- MemoryFailPoint.cs
- __Filters.cs
- TrustManager.cs
- CodeDirectoryCompiler.cs
- BuildDependencySet.cs
- GeneralTransform3DTo2D.cs
- ServicePoint.cs
- AsymmetricKeyExchangeDeformatter.cs
- Matrix.cs
- TCPListener.cs
- TextSelection.cs
- SplitContainer.cs
- TransformPattern.cs
- DBCommand.cs
- WebControl.cs
- BoolLiteral.cs
- TimestampInformation.cs
- PathFigure.cs
- PageContent.cs
- httpstaticobjectscollection.cs
- LogRecordSequence.cs
- DependentList.cs
- Compiler.cs
- VisualTreeHelper.cs
- HttpCacheVaryByContentEncodings.cs
- UnaryExpression.cs
- ObjectCloneHelper.cs
- RunWorkerCompletedEventArgs.cs
- XPathArrayIterator.cs
- SQLMembershipProvider.cs
- TokenBasedSetEnumerator.cs
- SoapMessage.cs
- ConfigurationManager.cs
- ListCollectionView.cs
- BitmapMetadataBlob.cs
- SecurityTokenSpecification.cs
- PanelStyle.cs
- PtsPage.cs
- ConcurrentQueue.cs
- TableCellAutomationPeer.cs
- CompilerWrapper.cs
- SqlCacheDependencySection.cs
- SynchronizedDispatch.cs
- WebPartAuthorizationEventArgs.cs
- ValidationRuleCollection.cs
- TabPage.cs
- HttpListenerContext.cs
- TranslateTransform3D.cs
- DocumentXPathNavigator.cs
- EntityDataSourceWrapperCollection.cs
- ThemeDirectoryCompiler.cs
- BamlRecordHelper.cs
- SelectingProviderEventArgs.cs
- Win32Exception.cs
- MailHeaderInfo.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- HttpContext.cs