Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OuterGlowBitmapEffect.cs
- _AuthenticationState.cs
- DebugInfoExpression.cs
- Rect3D.cs
- BinaryMessageFormatter.cs
- HttpWriter.cs
- DataControlLinkButton.cs
- IdentityValidationException.cs
- Guid.cs
- KeyToListMap.cs
- VScrollProperties.cs
- ImpersonationContext.cs
- AttributeEmitter.cs
- Attributes.cs
- HighlightVisual.cs
- PerformanceCounterPermission.cs
- SqlGenerator.cs
- NativeWindow.cs
- XamlWriter.cs
- FileInfo.cs
- ToolBarPanel.cs
- SqlLiftWhereClauses.cs
- ColumnMapCopier.cs
- MediaEntryAttribute.cs
- ClientConvert.cs
- ChangeProcessor.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- _ShellExpression.cs
- TraceListeners.cs
- DeploymentSection.cs
- XPathDocument.cs
- AssertSection.cs
- SrgsGrammar.cs
- NavigationEventArgs.cs
- ContextMenuService.cs
- WebPartConnectionCollection.cs
- ObjectFullSpanRewriter.cs
- XmlNodeReader.cs
- WebPartManagerInternals.cs
- Blend.cs
- WebColorConverter.cs
- LoginDesigner.cs
- DataSourceControlBuilder.cs
- ToolStripRendererSwitcher.cs
- DecimalAnimationBase.cs
- TimeSpan.cs
- PageStatePersister.cs
- CustomValidator.cs
- ClientSettingsProvider.cs
- IntSecurity.cs
- PaintValueEventArgs.cs
- SafePointer.cs
- WebPartZone.cs
- DoWorkEventArgs.cs
- EdmItemCollection.cs
- Pair.cs
- UnicodeEncoding.cs
- SafePointer.cs
- NegationPusher.cs
- ClockController.cs
- EntityDataSourceMemberPath.cs
- TextTreeFixupNode.cs
- QueryContinueDragEvent.cs
- RoutedUICommand.cs
- DataGridCellEditEndingEventArgs.cs
- IdentifierService.cs
- _NetRes.cs
- DataGridViewColumnTypeEditor.cs
- ThrowHelper.cs
- TextTreeUndo.cs
- SmtpException.cs
- ConfigXmlText.cs
- StringUtil.cs
- Transactions.cs
- HttpException.cs
- CompiledQueryCacheKey.cs
- UshortList2.cs
- GifBitmapEncoder.cs
- QilUnary.cs
- CategoryList.cs
- TextAdaptor.cs
- HostedBindingBehavior.cs
- LogLogRecordEnumerator.cs
- TypeConverter.cs
- SafeRightsManagementPubHandle.cs
- Pair.cs
- OpCellTreeNode.cs
- autovalidator.cs
- RegistryConfigurationProvider.cs
- InputEventArgs.cs
- TransactionState.cs
- UserPreferenceChangedEventArgs.cs
- ClientSideProviderDescription.cs
- WindowsContainer.cs
- XappLauncher.cs
- Button.cs
- BoundPropertyEntry.cs
- XMLDiffLoader.cs
- TcpStreams.cs
- DeleteMemberBinder.cs