Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / PersonalizationProviderCollection.cs / 1 / PersonalizationProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Configuration.Provider; using System.Security.Permissions; using System.Web; using System.Web.UI; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class PersonalizationProviderCollection : ProviderCollection { new public PersonalizationProvider this[string name] { get { return (PersonalizationProvider)base[name]; } } public override void Add(ProviderBase provider) { if (provider == null) { throw new ArgumentNullException("provider"); } if (!(provider is PersonalizationProvider)) { throw new ArgumentException( SR.GetString( SR.Provider_must_implement_the_interface, provider.GetType().FullName, "PersonalizationProvider")); } base.Add(provider); } public void CopyTo(PersonalizationProvider[] 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. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Configuration.Provider; using System.Security.Permissions; using System.Web; using System.Web.UI; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class PersonalizationProviderCollection : ProviderCollection { new public PersonalizationProvider this[string name] { get { return (PersonalizationProvider)base[name]; } } public override void Add(ProviderBase provider) { if (provider == null) { throw new ArgumentNullException("provider"); } if (!(provider is PersonalizationProvider)) { throw new ArgumentException( SR.GetString( SR.Provider_must_implement_the_interface, provider.GetType().FullName, "PersonalizationProvider")); } base.Add(provider); } public void CopyTo(PersonalizationProvider[] 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
- Query.cs
- IndicFontClient.cs
- TraceEventCache.cs
- StylusPointProperties.cs
- RoutedEventArgs.cs
- FontStretches.cs
- TextEditorSelection.cs
- ResourceContainer.cs
- PreviewPrintController.cs
- ProfileParameter.cs
- CodeSnippetCompileUnit.cs
- TableCellsCollectionEditor.cs
- ThicknessAnimation.cs
- SqlUDTStorage.cs
- DependsOnAttribute.cs
- IsolatedStorageFile.cs
- DnsEndpointIdentity.cs
- VScrollProperties.cs
- SerTrace.cs
- MenuItemCollection.cs
- TextTreeUndo.cs
- Panel.cs
- ExtendedTransformFactory.cs
- CatalogZoneBase.cs
- ConfigurationPropertyCollection.cs
- SQLSingleStorage.cs
- ValidatorUtils.cs
- ApplicationManager.cs
- ValueType.cs
- DataViewSetting.cs
- SerializationInfoEnumerator.cs
- WindowsScroll.cs
- Win32SafeHandles.cs
- RuntimeConfigLKG.cs
- ClipboardData.cs
- SelectionRange.cs
- HMACSHA256.cs
- __Filters.cs
- FloatUtil.cs
- XmlLanguage.cs
- Coordinator.cs
- graph.cs
- GlyphCache.cs
- AttachedPropertyBrowsableAttribute.cs
- Config.cs
- GZipStream.cs
- MasterPageParser.cs
- FontWeight.cs
- SerializerDescriptor.cs
- PocoEntityKeyStrategy.cs
- CompositeCollection.cs
- TreeViewImageKeyConverter.cs
- ListControlBoundActionList.cs
- DefaultAssemblyResolver.cs
- ToolStripRenderEventArgs.cs
- VisualTreeHelper.cs
- PriorityRange.cs
- DynamicMetaObjectBinder.cs
- SHA512Managed.cs
- ResourceDisplayNameAttribute.cs
- SafeCryptoHandles.cs
- DotExpr.cs
- SqlLiftIndependentRowExpressions.cs
- XmlSchemaObject.cs
- DefaultShape.cs
- TracingConnectionInitiator.cs
- ThrowHelper.cs
- AnnotationComponentManager.cs
- _FtpDataStream.cs
- DocumentSequenceHighlightLayer.cs
- SurrogateSelector.cs
- SimpleBitVector32.cs
- HtmlElementCollection.cs
- InternalSafeNativeMethods.cs
- DbgUtil.cs
- StringArrayConverter.cs
- ZipPackage.cs
- ListComponentEditor.cs
- DelayedRegex.cs
- ActiveXHost.cs
- ReadWriteControlDesigner.cs
- RenderData.cs
- PrintDialogException.cs
- ExcludeFromCodeCoverageAttribute.cs
- RegexMatch.cs
- SendReply.cs
- IncrementalCompileAnalyzer.cs
- LayoutTable.cs
- RegionInfo.cs
- AppliesToBehaviorDecisionTable.cs
- StructuralObject.cs
- TextEvent.cs
- TickBar.cs
- GenerateHelper.cs
- OleDbCommandBuilder.cs
- SmiGettersStream.cs
- HttpListenerTimeoutManager.cs
- SQLStringStorage.cs
- RepeaterItem.cs
- DataGridLinkButton.cs