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
- EmissiveMaterial.cs
- KerberosSecurityTokenProvider.cs
- BuildProvider.cs
- GridProviderWrapper.cs
- SqlNotificationEventArgs.cs
- CodeGenerationManager.cs
- PackWebRequest.cs
- NodeCounter.cs
- CodeAttributeDeclaration.cs
- MatrixAnimationUsingPath.cs
- WebConfigurationManager.cs
- CacheAxisQuery.cs
- _SpnDictionary.cs
- DataGridViewComboBoxCell.cs
- SchemaNotation.cs
- CharEnumerator.cs
- TextParaClient.cs
- VirtualizingPanel.cs
- RSAPKCS1SignatureFormatter.cs
- ResXResourceWriter.cs
- Sentence.cs
- MessageSmuggler.cs
- ByteKeyFrameCollection.cs
- MD5CryptoServiceProvider.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- CodeTypeMemberCollection.cs
- XamlInt32CollectionSerializer.cs
- DataGridViewTextBoxEditingControl.cs
- ProgressBarBrushConverter.cs
- BaseCAMarshaler.cs
- ConfigurationManagerInternalFactory.cs
- FontWeightConverter.cs
- XmlSerializationWriter.cs
- ReadingWritingEntityEventArgs.cs
- X509CertificateValidator.cs
- DesignObjectWrapper.cs
- WmiEventSink.cs
- SapiGrammar.cs
- SoapHeaderException.cs
- MsmqProcessProtocolHandler.cs
- WizardForm.cs
- DetailsViewModeEventArgs.cs
- NestedContainer.cs
- KnownBoxes.cs
- ToolStripProgressBar.cs
- Base64Decoder.cs
- Propagator.cs
- UriParserTemplates.cs
- ProfileSettingsCollection.cs
- MobileResource.cs
- DropDownList.cs
- DetailsViewRowCollection.cs
- AdornedElementPlaceholder.cs
- GeneralTransform.cs
- QualifiedCellIdBoolean.cs
- Attributes.cs
- DWriteFactory.cs
- WinEventQueueItem.cs
- SharedStatics.cs
- ApplicationSecurityInfo.cs
- ManualResetEvent.cs
- IDataContractSurrogate.cs
- EllipticalNodeOperations.cs
- StringConverter.cs
- EventProviderWriter.cs
- ListViewItemEventArgs.cs
- DBConcurrencyException.cs
- MessageHeaders.cs
- Accessible.cs
- CaseInsensitiveHashCodeProvider.cs
- ScrollEvent.cs
- MobileCategoryAttribute.cs
- ImageMapEventArgs.cs
- HttpProfileBase.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- XmlSerializableServices.cs
- HuffModule.cs
- RectIndependentAnimationStorage.cs
- ExceptionUtil.cs
- GeneralTransform3DGroup.cs
- VerticalAlignConverter.cs
- UniqueEventHelper.cs
- LineInfo.cs
- TypeRefElement.cs
- PeerEndPoint.cs
- ListItemConverter.cs
- FixedTextContainer.cs
- hresults.cs
- DataTable.cs
- InvalidDataContractException.cs
- MenuItemBindingCollection.cs
- RepeaterItem.cs
- WindowClosedEventArgs.cs
- PrimitiveXmlSerializers.cs
- Journaling.cs
- VirtualizingStackPanel.cs
- DataGridViewRowCollection.cs
- Adorner.cs
- _SslState.cs
- MailSettingsSection.cs