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
- TextTreeDeleteContentUndoUnit.cs
- XmlWellformedWriter.cs
- XmlSchemaInferenceException.cs
- UnknownBitmapEncoder.cs
- MimeReturn.cs
- SQLInt32Storage.cs
- KeyGestureValueSerializer.cs
- TableLayoutColumnStyleCollection.cs
- Preprocessor.cs
- SqlDataSourceCache.cs
- WsdlContractConversionContext.cs
- VectorCollection.cs
- ThreadInterruptedException.cs
- BinaryParser.cs
- CharacterHit.cs
- QueuePathEditor.cs
- KeyProperty.cs
- EntityType.cs
- AvtEvent.cs
- RecoverInstanceLocksCommand.cs
- AnimationClockResource.cs
- EmbeddedMailObjectsCollection.cs
- RoleGroupCollection.cs
- ContextToken.cs
- DefaultValueMapping.cs
- DataGridViewCellStyleConverter.cs
- MouseOverProperty.cs
- QueryOperator.cs
- EmptyImpersonationContext.cs
- Version.cs
- LocatorBase.cs
- ContractSearchPattern.cs
- InArgumentConverter.cs
- _NTAuthentication.cs
- EditorPartCollection.cs
- OracleBoolean.cs
- ReadOnlyDictionary.cs
- BindingMAnagerBase.cs
- XmlSchemaAnyAttribute.cs
- InstanceNameConverter.cs
- ParentUndoUnit.cs
- MdiWindowListItemConverter.cs
- KeyPressEvent.cs
- ImageList.cs
- PreservationFileWriter.cs
- SingleStorage.cs
- CssTextWriter.cs
- ClientProtocol.cs
- KeyGestureConverter.cs
- CodeIdentifiers.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ErrorFormatterPage.cs
- SqlProvider.cs
- DataGridViewImageCell.cs
- InfoCardClaim.cs
- TextPatternIdentifiers.cs
- Nullable.cs
- XmlParserContext.cs
- CodeNamespaceCollection.cs
- CircleHotSpot.cs
- WebConfigManager.cs
- SqlClientFactory.cs
- ZipPackagePart.cs
- ToolBarOverflowPanel.cs
- ListInitExpression.cs
- DataObject.cs
- SQLBytesStorage.cs
- DbXmlEnabledProviderManifest.cs
- WindowsAuthenticationModule.cs
- DesignerAttribute.cs
- ExpressionCopier.cs
- DataGridViewElement.cs
- DesignerTransaction.cs
- MarkupCompiler.cs
- TextClipboardData.cs
- AudioStateChangedEventArgs.cs
- WmiPutTraceRecord.cs
- DbConnectionPoolOptions.cs
- HopperCache.cs
- AutomationPattern.cs
- EventItfInfo.cs
- Thumb.cs
- GlobalizationSection.cs
- IImplicitResourceProvider.cs
- ParserContext.cs
- LocalizationComments.cs
- RectIndependentAnimationStorage.cs
- CompositionTarget.cs
- DesignerFrame.cs
- CustomSignedXml.cs
- CqlQuery.cs
- SmtpReplyReaderFactory.cs
- SweepDirectionValidation.cs
- BinaryUtilClasses.cs
- RelationshipEndCollection.cs
- PreviewPageInfo.cs
- TimeSpanValidator.cs
- ActivityExecutionFilter.cs
- SqlTypesSchemaImporter.cs
- IntAverageAggregationOperator.cs