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
- UnsafeNativeMethods.cs
- XmlSerializerFaultFormatter.cs
- DesignerPerfEventProvider.cs
- DataGridViewColumnCollectionDialog.cs
- DynamicRenderer.cs
- InfoCardRSACryptoProvider.cs
- DirectoryObjectSecurity.cs
- PageAsyncTaskManager.cs
- DisplayInformation.cs
- FunctionCommandText.cs
- DataGridViewRowStateChangedEventArgs.cs
- GradientBrush.cs
- ReplacementText.cs
- HtmlDocument.cs
- RecordBuilder.cs
- SecurityPolicySection.cs
- BaseTemplateParser.cs
- XmlName.cs
- BamlResourceContent.cs
- BaseValidator.cs
- MatrixCamera.cs
- ReferenceConverter.cs
- httpstaticobjectscollection.cs
- WebContext.cs
- HtmlAnchor.cs
- ApplicationContext.cs
- HostProtectionException.cs
- HtmlAnchor.cs
- RemoteWebConfigurationHostServer.cs
- ListenerChannelContext.cs
- EntityDataSourceConfigureObjectContext.cs
- ChannelOptions.cs
- WebConfigurationHostFileChange.cs
- PreviewKeyDownEventArgs.cs
- ThreadLocal.cs
- TraceXPathNavigator.cs
- TagPrefixAttribute.cs
- RadioButtonPopupAdapter.cs
- FontDifferentiator.cs
- DeflateEmulationStream.cs
- SafeWaitHandle.cs
- DispatcherOperation.cs
- SQLInt64Storage.cs
- BinaryMethodMessage.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- mediaeventargs.cs
- AsymmetricSecurityProtocol.cs
- SecurityTokenProviderContainer.cs
- SymLanguageType.cs
- MissingFieldException.cs
- ModelItemKeyValuePair.cs
- SchemaDeclBase.cs
- PerformanceCounterPermissionEntryCollection.cs
- ScrollViewer.cs
- Parameter.cs
- HostProtectionPermission.cs
- Brush.cs
- NameValueFileSectionHandler.cs
- EntityClientCacheEntry.cs
- AsyncResult.cs
- SHA512Managed.cs
- HttpClientProtocol.cs
- TextBoxDesigner.cs
- HtmlInputHidden.cs
- ImageDesigner.cs
- SQLMoney.cs
- AncestorChangedEventArgs.cs
- ListViewItemMouseHoverEvent.cs
- BindingElementExtensionElement.cs
- ExpressionBuilderContext.cs
- ValueProviderWrapper.cs
- DocumentXPathNavigator.cs
- WaitForChangedResult.cs
- ResourceAttributes.cs
- WebPartsPersonalization.cs
- CircleEase.cs
- SQLUtility.cs
- SoapRpcMethodAttribute.cs
- Bits.cs
- InvalidFilterCriteriaException.cs
- AssemblyBuilder.cs
- SelectionUIService.cs
- ExpressionWriter.cs
- UInt32Converter.cs
- ListParaClient.cs
- InputQueue.cs
- ApplicationHost.cs
- EncodingDataItem.cs
- PrintController.cs
- EventLogTraceListener.cs
- ThreadStaticAttribute.cs
- MatrixIndependentAnimationStorage.cs
- MSHTMLHost.cs
- SmiGettersStream.cs
- FilterQuery.cs
- RoutedCommand.cs
- AuthorizationRule.cs
- XpsPackagingPolicy.cs
- TrustLevelCollection.cs