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
- QilBinary.cs
- WebPartConnectionsConfigureVerb.cs
- MsmqException.cs
- ObjectSecurity.cs
- Compensate.cs
- DtrList.cs
- HttpConfigurationContext.cs
- CorrelationKey.cs
- TypedElement.cs
- ExecutionContext.cs
- HtmlControl.cs
- Slider.cs
- lengthconverter.cs
- WebBrowser.cs
- EventEntry.cs
- ElementAction.cs
- ListViewUpdateEventArgs.cs
- SqlNotificationEventArgs.cs
- ValidationSummary.cs
- FontCacheLogic.cs
- CodeAttributeArgument.cs
- QuerySettings.cs
- SetIndexBinder.cs
- QueuePathEditor.cs
- TouchDevice.cs
- DrawingContext.cs
- ExtendedPropertyCollection.cs
- TrackingServices.cs
- GeneralTransform.cs
- DescriptionAttribute.cs
- DbCommandTree.cs
- DataListCommandEventArgs.cs
- ExecutionContext.cs
- PermissionSetTriple.cs
- ReadOnlyDataSource.cs
- XmlWhitespace.cs
- LinqDataView.cs
- WebPartConnectionsEventArgs.cs
- Menu.cs
- Rectangle.cs
- __TransparentProxy.cs
- WebPartConnectionsCancelVerb.cs
- ExtendedProtectionPolicy.cs
- HijriCalendar.cs
- AssociationSetEnd.cs
- UriTemplateTableMatchCandidate.cs
- LinkArea.cs
- XmlReflectionMember.cs
- ConstructorExpr.cs
- XmlSchemaSimpleTypeRestriction.cs
- COM2ExtendedUITypeEditor.cs
- DecoderFallback.cs
- Expression.cs
- SimpleTextLine.cs
- TaskFormBase.cs
- OpenTypeCommon.cs
- DynamicPropertyHolder.cs
- XPathDocumentIterator.cs
- _ShellExpression.cs
- TemplatePagerField.cs
- HttpTransportElement.cs
- InputManager.cs
- DictionaryItemsCollection.cs
- DocumentReferenceCollection.cs
- Serializer.cs
- HwndSourceKeyboardInputSite.cs
- dtdvalidator.cs
- MachineKeySection.cs
- SerializableAttribute.cs
- Style.cs
- CustomCredentialPolicy.cs
- BindingContext.cs
- PermissionRequestEvidence.cs
- LinqDataSourceSelectEventArgs.cs
- EntitySqlQueryCacheEntry.cs
- PageBuildProvider.cs
- SqlDataSourceParameterParser.cs
- SoapObjectInfo.cs
- FaultDescriptionCollection.cs
- CommandBindingCollection.cs
- EmptyReadOnlyDictionaryInternal.cs
- DataRelation.cs
- XmlParserContext.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- EnglishPluralizationService.cs
- ObjectCloneHelper.cs
- EastAsianLunisolarCalendar.cs
- PrimitiveDataContract.cs
- DescendantBaseQuery.cs
- ThreadSafeList.cs
- HyperLink.cs
- Pen.cs
- ReadOnlyDictionary.cs
- PTManager.cs
- AutomationPatternInfo.cs
- DataMember.cs
- ObjectDataSourceSelectingEventArgs.cs
- FormParameter.cs
- OrderedHashRepartitionEnumerator.cs
- DataList.cs