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
- OleDbEnumerator.cs
- SessionEndingCancelEventArgs.cs
- WebDisplayNameAttribute.cs
- EventListener.cs
- XPathBinder.cs
- HttpCookie.cs
- GcHandle.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- HtmlControlPersistable.cs
- DockAndAnchorLayout.cs
- OraclePermissionAttribute.cs
- XmlComplianceUtil.cs
- RegularExpressionValidator.cs
- ThemeDictionaryExtension.cs
- XmlSubtreeReader.cs
- RijndaelManaged.cs
- TempFiles.cs
- SerialStream.cs
- StronglyTypedResourceBuilder.cs
- SHA384CryptoServiceProvider.cs
- XmlFormatWriterGenerator.cs
- FilterException.cs
- RadioButtonRenderer.cs
- CodeMethodMap.cs
- BamlLocalizationDictionary.cs
- AppModelKnownContentFactory.cs
- ToolStripButton.cs
- ImmutableObjectAttribute.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SimplePropertyEntry.cs
- Literal.cs
- NativeMethodsCLR.cs
- ToolBarTray.cs
- WebZone.cs
- ConfigurationProperty.cs
- ObjectCache.cs
- TypeSemantics.cs
- DoubleKeyFrameCollection.cs
- Model3DCollection.cs
- DataBoundControlHelper.cs
- DnsCache.cs
- FusionWrap.cs
- RegexCompiler.cs
- SortedSet.cs
- CompareValidator.cs
- DateTimePickerDesigner.cs
- TemplateControlParser.cs
- AttributeEmitter.cs
- WindowsAuthenticationModule.cs
- InteropBitmapSource.cs
- XmlMtomWriter.cs
- ConnectionInterfaceCollection.cs
- Deflater.cs
- IImplicitResourceProvider.cs
- TableItemStyle.cs
- WebPartMinimizeVerb.cs
- HttpCookiesSection.cs
- AsyncOperationContext.cs
- PackageProperties.cs
- CollectionChangedEventManager.cs
- RepeatButtonAutomationPeer.cs
- ExpressionBuilder.cs
- OdbcCommandBuilder.cs
- DataGridViewCellConverter.cs
- SQLMembershipProvider.cs
- ConsoleKeyInfo.cs
- SHA1CryptoServiceProvider.cs
- ParagraphVisual.cs
- CancellationTokenRegistration.cs
- CellTreeNode.cs
- SemanticResultKey.cs
- LayoutEngine.cs
- MappedMetaModel.cs
- _SpnDictionary.cs
- CodeArgumentReferenceExpression.cs
- Attachment.cs
- AnnotationStore.cs
- UIElement3D.cs
- OracleCommandBuilder.cs
- EncoderReplacementFallback.cs
- ObjectPersistData.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SQLDateTimeStorage.cs
- CodeExpressionCollection.cs
- SchemaTableColumn.cs
- SqlPersonalizationProvider.cs
- MemoryMappedFileSecurity.cs
- CompModHelpers.cs
- FieldNameLookup.cs
- FullTrustAssemblyCollection.cs
- PropertyCollection.cs
- OneToOneMappingSerializer.cs
- IncrementalCompileAnalyzer.cs
- ServiceMoniker.cs
- ConfigurationStrings.cs
- AllMembershipCondition.cs
- RuntimeHelpers.cs
- ItemCollection.cs
- PriorityBindingExpression.cs
- Parser.cs