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
- RadioButton.cs
- SiteMapDataSourceDesigner.cs
- ToolStripDropDownClosingEventArgs.cs
- OdbcConnectionStringbuilder.cs
- ConfigDefinitionUpdates.cs
- NaturalLanguageHyphenator.cs
- SafeLibraryHandle.cs
- CombinedHttpChannel.cs
- XmlBinaryReader.cs
- IOException.cs
- DesignerView.xaml.cs
- ResourceProperty.cs
- IssuedTokenServiceCredential.cs
- ServiceModelReg.cs
- DataServiceHostWrapper.cs
- IItemProperties.cs
- PropertyPathConverter.cs
- FlowDecisionDesigner.xaml.cs
- HttpListenerResponse.cs
- TemplateKey.cs
- SafeProcessHandle.cs
- followingquery.cs
- PackagePartCollection.cs
- HTTPNotFoundHandler.cs
- DataGridRowAutomationPeer.cs
- FormViewUpdatedEventArgs.cs
- ContextStack.cs
- DBNull.cs
- GeometryHitTestResult.cs
- ProtocolViolationException.cs
- StringToken.cs
- CodeRemoveEventStatement.cs
- GuidConverter.cs
- ScrollContentPresenter.cs
- SqlFacetAttribute.cs
- EmptyEnumerator.cs
- SqlDataSourceEnumerator.cs
- SessionPageStatePersister.cs
- ControlValuePropertyAttribute.cs
- EntityCommand.cs
- DataSourceSelectArguments.cs
- XhtmlBasicFormAdapter.cs
- TemplateControlCodeDomTreeGenerator.cs
- ProtocolsSection.cs
- XmlTypeMapping.cs
- TypeConstant.cs
- SvcMapFile.cs
- UpdatableGenericsFeature.cs
- CodeSubDirectoriesCollection.cs
- ServiceOperationDetailViewControl.cs
- ChtmlTextWriter.cs
- ActivityBuilderHelper.cs
- QuadraticBezierSegment.cs
- DataViewSetting.cs
- EntitySqlException.cs
- WebPartCancelEventArgs.cs
- sqlcontext.cs
- DataGridItem.cs
- PackWebResponse.cs
- ErrorEventArgs.cs
- SocketPermission.cs
- TextOutput.cs
- WebDescriptionAttribute.cs
- WeakKeyDictionary.cs
- Validator.cs
- ProcessHostConfigUtils.cs
- XmlCustomFormatter.cs
- Rotation3D.cs
- XmlDataSource.cs
- ProcessModelInfo.cs
- BuildResult.cs
- RightsManagementEncryptedStream.cs
- GraphicsPathIterator.cs
- DataRelation.cs
- DataGridTableCollection.cs
- FacetValueContainer.cs
- EntityProviderServices.cs
- HMACSHA256.cs
- SQLGuidStorage.cs
- ErrorRuntimeConfig.cs
- ManualResetEvent.cs
- ContentFilePart.cs
- AdRotatorDesigner.cs
- IntSecurity.cs
- PowerStatus.cs
- SpeechUI.cs
- RuntimeIdentifierPropertyAttribute.cs
- OleCmdHelper.cs
- JoinCqlBlock.cs
- IRCollection.cs
- OracleConnectionFactory.cs
- GetMemberBinder.cs
- AddingNewEventArgs.cs
- DecimalConverter.cs
- ActivityUtilities.cs
- PermissionSetTriple.cs
- DebugView.cs
- ResXResourceReader.cs
- MarkupCompilePass2.cs
- NegotiateStream.cs