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
- DataControlImageButton.cs
- SchemaImporterExtension.cs
- StyleCollection.cs
- MailSettingsSection.cs
- ViewGenResults.cs
- VBCodeProvider.cs
- ToolStripDropDown.cs
- CodeAttributeDeclaration.cs
- DataGridSortCommandEventArgs.cs
- TcpClientChannel.cs
- SimplePropertyEntry.cs
- SegmentInfo.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- IfAction.cs
- ResolveDuplexAsyncResult.cs
- AuthenticateEventArgs.cs
- BackgroundWorker.cs
- ResizingMessageFilter.cs
- DetailsViewCommandEventArgs.cs
- TimelineCollection.cs
- HelloMessage11.cs
- AttributeUsageAttribute.cs
- TemplateBamlRecordReader.cs
- RegexMatch.cs
- AmbientValueAttribute.cs
- HostedElements.cs
- VariableDesigner.xaml.cs
- SafeJobHandle.cs
- XmlSchemaInclude.cs
- ConsoleTraceListener.cs
- DependencyProperty.cs
- QueryableFilterUserControl.cs
- InterleavedZipPartStream.cs
- CustomCategoryAttribute.cs
- SystemBrushes.cs
- OleDbRowUpdatedEvent.cs
- SchemaObjectWriter.cs
- PenThread.cs
- LinqDataSourceValidationException.cs
- OneWayElement.cs
- TextTreeDeleteContentUndoUnit.cs
- XmlSchemaSimpleContentExtension.cs
- NameObjectCollectionBase.cs
- Win32PrintDialog.cs
- DescriptionAttribute.cs
- ListViewItemMouseHoverEvent.cs
- ToolTipAutomationPeer.cs
- SafeNativeMethods.cs
- SmiTypedGetterSetter.cs
- SafeBitVector32.cs
- DataKeyCollection.cs
- AssociationTypeEmitter.cs
- smtpconnection.cs
- ProxyWebPartManager.cs
- TextBoxDesigner.cs
- SchemaAttDef.cs
- StreamInfo.cs
- WSHttpBinding.cs
- WeakReferenceKey.cs
- _FtpDataStream.cs
- PixelFormat.cs
- ResXFileRef.cs
- HebrewNumber.cs
- JsonClassDataContract.cs
- UInt64Storage.cs
- XamlRtfConverter.cs
- TextEndOfLine.cs
- CheckPair.cs
- EditingCommands.cs
- CqlLexerHelpers.cs
- DataGridViewColumnHeaderCell.cs
- XDRSchema.cs
- BaseCollection.cs
- XPathChildIterator.cs
- XmlNodeReader.cs
- EqualityComparer.cs
- ComponentResourceManager.cs
- AssociationTypeEmitter.cs
- ObjectConverter.cs
- DiscreteKeyFrames.cs
- PasswordDeriveBytes.cs
- HtmlTableCell.cs
- SafePEFileHandle.cs
- PeerNeighborManager.cs
- ValidatingReaderNodeData.cs
- CanonicalFontFamilyReference.cs
- SecurityTokenSpecification.cs
- FileAccessException.cs
- CodeIterationStatement.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- Instrumentation.cs
- EntityDataSourceContextDisposingEventArgs.cs
- SizeConverter.cs
- TemplateBindingExpression.cs
- SortFieldComparer.cs
- SecurityCriticalDataForSet.cs
- XmlDownloadManager.cs
- X509SecurityTokenParameters.cs
- ProcessModelInfo.cs
- StorageFunctionMapping.cs