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
- ToolStripArrowRenderEventArgs.cs
- MediaElement.cs
- TextPatternIdentifiers.cs
- PropertyEmitterBase.cs
- ThreadStateException.cs
- MiniCustomAttributeInfo.cs
- TypeBuilderInstantiation.cs
- CheckedPointers.cs
- BuilderInfo.cs
- AggregatePushdown.cs
- AuthorizationSection.cs
- UnsafeNativeMethods.cs
- DataGridViewCellStateChangedEventArgs.cs
- XmlDictionary.cs
- Vector3DCollectionValueSerializer.cs
- MimeMultiPart.cs
- FromRequest.cs
- DesignerOptionService.cs
- PreservationFileWriter.cs
- ConsoleCancelEventArgs.cs
- ReadWriteControlDesigner.cs
- RequestQueue.cs
- XmlCodeExporter.cs
- WebPartEditorCancelVerb.cs
- AspCompat.cs
- TextRunTypographyProperties.cs
- UIElement3DAutomationPeer.cs
- TransactionFlowBindingElement.cs
- LongValidator.cs
- ServerValidateEventArgs.cs
- BadImageFormatException.cs
- Encoder.cs
- EventSourceCreationData.cs
- ProcessModule.cs
- ObjectDataSourceView.cs
- AppDomainShutdownMonitor.cs
- XhtmlConformanceSection.cs
- XmlUtil.cs
- StorageInfo.cs
- MenuItem.cs
- CardSpacePolicyElement.cs
- PaintValueEventArgs.cs
- CommunicationObjectAbortedException.cs
- ColumnHeader.cs
- SHA384.cs
- ExtendedPropertyCollection.cs
- PropertyEntry.cs
- ContractListAdapter.cs
- XPathSelfQuery.cs
- SplineKeyFrames.cs
- CryptoApi.cs
- QilPatternVisitor.cs
- Expression.cs
- PackWebRequestFactory.cs
- ProtocolElementCollection.cs
- StructuredTypeInfo.cs
- OleDbConnectionFactory.cs
- CollectionChangedEventManager.cs
- ServiceOperationParameter.cs
- ExceptionRoutedEventArgs.cs
- Splitter.cs
- ValidationError.cs
- RegionIterator.cs
- ResolveNameEventArgs.cs
- XmlDictionaryReaderQuotas.cs
- _PooledStream.cs
- ListItem.cs
- SqlInfoMessageEvent.cs
- JoinQueryOperator.cs
- CallbackHandler.cs
- ToolStripDropDown.cs
- OleServicesContext.cs
- ModelPerspective.cs
- BufferAllocator.cs
- AuthenticationService.cs
- ProxyGenerationError.cs
- DataGridViewCellStateChangedEventArgs.cs
- OletxVolatileEnlistment.cs
- LightweightEntityWrapper.cs
- ServiceRouteHandler.cs
- ConfigXmlWhitespace.cs
- DesignTimeXamlWriter.cs
- MetadataProperty.cs
- DataGridViewRow.cs
- WebPartCloseVerb.cs
- DebugView.cs
- MemberAccessException.cs
- Pkcs7Recipient.cs
- SortedList.cs
- ApplicationCommands.cs
- HttpCachePolicy.cs
- ScriptReference.cs
- PageThemeBuildProvider.cs
- Resources.Designer.cs
- tibetanshape.cs
- HttpServerVarsCollection.cs
- ToolStripPanelRow.cs
- UTF8Encoding.cs
- BlockExpression.cs
- Span.cs