Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ProtectedConfigurationProviderCollection.cs / 1 / ProtectedConfigurationProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; using System.Xml; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class ProtectedConfigurationProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProtectedConfigurationProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); } base.Add( provider ); } new public ProtectedConfigurationProvider this[string name] { get { return (ProtectedConfigurationProvider)base[name]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; using System.Xml; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class ProtectedConfigurationProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProtectedConfigurationProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); } base.Add( provider ); } new public ProtectedConfigurationProvider this[string name] { get { return (ProtectedConfigurationProvider)base[name]; } } } } // 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
- SQLRoleProvider.cs
- NavigationService.cs
- Activator.cs
- XmlDataImplementation.cs
- MarkupObject.cs
- OutputScope.cs
- HttpListenerPrefixCollection.cs
- ISFClipboardData.cs
- ReadOnlyHierarchicalDataSourceView.cs
- CharEnumerator.cs
- hwndwrapper.cs
- ExtenderControl.cs
- AuthorizationSection.cs
- DataBindEngine.cs
- MsmqException.cs
- TypeGeneratedEventArgs.cs
- MethodAccessException.cs
- AsyncStreamReader.cs
- WebControlsSection.cs
- ListViewItemSelectionChangedEvent.cs
- PrintDialog.cs
- HierarchicalDataSourceControl.cs
- GroupAggregateExpr.cs
- RadioButton.cs
- MediaCommands.cs
- SourceSwitch.cs
- RawTextInputReport.cs
- LoginUtil.cs
- ScrollEvent.cs
- MeshGeometry3D.cs
- PrinterUnitConvert.cs
- SplitterEvent.cs
- StorageEntitySetMapping.cs
- APCustomTypeDescriptor.cs
- WebScriptEndpoint.cs
- EncodedStreamFactory.cs
- DrawingDrawingContext.cs
- Bold.cs
- TypedTableBaseExtensions.cs
- RunInstallerAttribute.cs
- XXXInfos.cs
- TriState.cs
- adornercollection.cs
- keycontainerpermission.cs
- TreeView.cs
- SourceElementsCollection.cs
- TerminateDesigner.cs
- ThicknessAnimationUsingKeyFrames.cs
- IPHostEntry.cs
- DataMember.cs
- PathSegmentCollection.cs
- CultureTableRecord.cs
- Operator.cs
- RoutedEventConverter.cs
- CompositeDuplexBindingElement.cs
- LocatorPart.cs
- XamlPoint3DCollectionSerializer.cs
- SingleQueryOperator.cs
- ChineseLunisolarCalendar.cs
- DataTemplateKey.cs
- TextBox.cs
- XmlNotation.cs
- BatchServiceHost.cs
- LogStream.cs
- MatrixTransform.cs
- DataRelationPropertyDescriptor.cs
- AsyncResult.cs
- Application.cs
- SqlDataReaderSmi.cs
- StickyNoteAnnotations.cs
- MenuItemBinding.cs
- NodeFunctions.cs
- TextRunTypographyProperties.cs
- WebPartConnectVerb.cs
- SQLGuid.cs
- StylusCollection.cs
- SolidColorBrush.cs
- RadioButtonDesigner.cs
- ContainerParagraph.cs
- Mapping.cs
- PackWebRequestFactory.cs
- XsdCachingReader.cs
- TextEditorMouse.cs
- RightsManagementSuppressedStream.cs
- IFlowDocumentViewer.cs
- DtrList.cs
- BaseValidator.cs
- RightsManagementErrorHandler.cs
- HttpApplicationFactory.cs
- DataBoundControlHelper.cs
- TextParagraph.cs
- BulletedList.cs
- UnsafeNativeMethods.cs
- ISAPIRuntime.cs
- QualificationDataItem.cs
- sqlnorm.cs
- DataGridViewComboBoxEditingControl.cs
- Compress.cs
- DatePickerDateValidationErrorEventArgs.cs
- BitmapEffectDrawing.cs