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
- DataGridPagerStyle.cs
- DesigntimeLicenseContext.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ElementHostAutomationPeer.cs
- TableItemPattern.cs
- UInt32Converter.cs
- HttpListenerPrefixCollection.cs
- CompositeScriptReference.cs
- CqlQuery.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DefaultValueAttribute.cs
- DescendantQuery.cs
- TextBounds.cs
- Converter.cs
- XmlReaderSettings.cs
- SystemInfo.cs
- SqlProviderManifest.cs
- BamlWriter.cs
- MetadataExchangeBindings.cs
- DataGridRowDetailsEventArgs.cs
- ContentPlaceHolder.cs
- IgnoreFileBuildProvider.cs
- Graphics.cs
- CachedTypeface.cs
- DesignerListAdapter.cs
- ColumnClickEvent.cs
- SessionStateSection.cs
- ComponentDispatcher.cs
- PerfService.cs
- UIElementCollection.cs
- Compiler.cs
- TrackingCondition.cs
- ItemDragEvent.cs
- OdbcFactory.cs
- RectIndependentAnimationStorage.cs
- CommonDialog.cs
- ApplicationInfo.cs
- RunInstallerAttribute.cs
- DrawListViewColumnHeaderEventArgs.cs
- TimeoutException.cs
- SqlTriggerAttribute.cs
- StateRuntime.cs
- KoreanLunisolarCalendar.cs
- PropertyDescriptors.cs
- HyperlinkAutomationPeer.cs
- CalendarDataBindingHandler.cs
- OleDbParameter.cs
- WebUtil.cs
- DbModificationClause.cs
- BindableAttribute.cs
- ScriptManagerProxy.cs
- DeploymentSectionCache.cs
- StaticSiteMapProvider.cs
- CfgRule.cs
- ProcessModuleCollection.cs
- HostingPreferredMapPath.cs
- objectquery_tresulttype.cs
- WebProxyScriptElement.cs
- CorrelationManager.cs
- CompModHelpers.cs
- RoleGroupCollectionEditor.cs
- HttpModuleActionCollection.cs
- HttpWebResponse.cs
- PropertyTab.cs
- Opcode.cs
- WsdlImporterElement.cs
- SequenceNumber.cs
- RemotingSurrogateSelector.cs
- SByteConverter.cs
- UIAgentAsyncEndRequest.cs
- ConditionalExpression.cs
- XmlSerializerFaultFormatter.cs
- Constraint.cs
- SchemaTableColumn.cs
- QuadraticBezierSegment.cs
- Knowncolors.cs
- EntityTemplateUserControl.cs
- CroppedBitmap.cs
- SoapReflectionImporter.cs
- URLAttribute.cs
- BlockUIContainer.cs
- ResourceDisplayNameAttribute.cs
- TableRow.cs
- DataGrid.cs
- ObjectStorage.cs
- ScrollProviderWrapper.cs
- LinkedList.cs
- ThicknessAnimationBase.cs
- ContentHostHelper.cs
- PathTooLongException.cs
- odbcmetadatafactory.cs
- DataBinding.cs
- SegmentTree.cs
- XmlNodeComparer.cs
- TraceHandlerErrorFormatter.cs
- CommandPlan.cs
- Decorator.cs
- _NestedSingleAsyncResult.cs
- PathFigureCollectionValueSerializer.cs
- HuffCodec.cs