Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigurationElementProperty.cs / 1 / ConfigurationElementProperty.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Security.Permissions; using System.Xml; using System.Globalization; using System.ComponentModel; using System.Security; using System.Text; namespace System.Configuration { // Although in Whidbey this class contain just one property, but we still do this this way, // instead of exposing a Validator property in ConfigurationElement, because if we need // another property in the future we'll expand this ElementProperty class rather than adding a // new overridable on ConfigurationElement public sealed class ConfigurationElementProperty { private ConfigurationValidatorBase _validator; public ConfigurationElementProperty(ConfigurationValidatorBase validator) { if (validator == null) { throw new ArgumentNullException("validator"); } _validator = validator; } public ConfigurationValidatorBase Validator { get { return _validator; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Security.Permissions; using System.Xml; using System.Globalization; using System.ComponentModel; using System.Security; using System.Text; namespace System.Configuration { // Although in Whidbey this class contain just one property, but we still do this this way, // instead of exposing a Validator property in ConfigurationElement, because if we need // another property in the future we'll expand this ElementProperty class rather than adding a // new overridable on ConfigurationElement public sealed class ConfigurationElementProperty { private ConfigurationValidatorBase _validator; public ConfigurationElementProperty(ConfigurationValidatorBase validator) { if (validator == null) { throw new ArgumentNullException("validator"); } _validator = validator; } public ConfigurationValidatorBase Validator { get { return _validator; } } } } // 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
- InputLanguageProfileNotifySink.cs
- SqlGenerator.cs
- DataControlLinkButton.cs
- ListViewEditEventArgs.cs
- NamespaceListProperty.cs
- StatusBarAutomationPeer.cs
- EasingKeyFrames.cs
- DoubleCollectionValueSerializer.cs
- IPipelineRuntime.cs
- TableParaClient.cs
- SchemaCompiler.cs
- FixedBufferAttribute.cs
- IndexOutOfRangeException.cs
- GenerateTemporaryTargetAssembly.cs
- FollowerQueueCreator.cs
- Ref.cs
- InterleavedZipPartStream.cs
- JsonWriterDelegator.cs
- WindowsScroll.cs
- SqlCommandBuilder.cs
- XPathMessageFilterElement.cs
- ConsumerConnectionPointCollection.cs
- PixelFormatConverter.cs
- SingleBodyParameterMessageFormatter.cs
- Number.cs
- XPathDocumentIterator.cs
- TileBrush.cs
- RemoteWebConfigurationHostServer.cs
- TypeDescriptionProvider.cs
- Quaternion.cs
- ActiveXHelper.cs
- AutomationEvent.cs
- EventManager.cs
- Mutex.cs
- TypeViewSchema.cs
- ActivityTypeDesigner.xaml.cs
- EventLogEntryCollection.cs
- CheckPair.cs
- SqlDataSourceWizardForm.cs
- DelegatingConfigHost.cs
- DataGridViewAdvancedBorderStyle.cs
- TraceSection.cs
- DataGridViewRowPostPaintEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- CriticalHandle.cs
- EventMap.cs
- EntityViewGenerationConstants.cs
- PointAnimationUsingPath.cs
- XsltArgumentList.cs
- LineServices.cs
- ProxyWebPartManager.cs
- NonVisualControlAttribute.cs
- QueryExtender.cs
- XmlAutoDetectWriter.cs
- SqlParameterizer.cs
- Int32Rect.cs
- Base64Encoder.cs
- ListenerElementsCollection.cs
- unitconverter.cs
- WrappedIUnknown.cs
- FormatSettings.cs
- FaultCode.cs
- LinkedList.cs
- ProfessionalColorTable.cs
- X509SecurityTokenProvider.cs
- RegistryKey.cs
- CodeConditionStatement.cs
- VariableBinder.cs
- ObjectPersistData.cs
- SiteMapSection.cs
- RestHandler.cs
- TransactionChannel.cs
- ConnectionPointConverter.cs
- XmlMembersMapping.cs
- QueuePropertyVariants.cs
- Win32NamedPipes.cs
- CachedPathData.cs
- TextViewElement.cs
- MasterPageCodeDomTreeGenerator.cs
- AnnotationResourceCollection.cs
- __Filters.cs
- GroupItem.cs
- ConfigurationValues.cs
- SR.cs
- DrawingContextWalker.cs
- XmlDocument.cs
- MailFileEditor.cs
- ComplexType.cs
- DataGridViewLinkCell.cs
- SqlParameterizer.cs
- Membership.cs
- JulianCalendar.cs
- GenerateScriptTypeAttribute.cs
- Icon.cs
- RegexMatch.cs
- EncryptedKey.cs
- EncryptedKeyIdentifierClause.cs
- StorageRoot.cs
- FastEncoderWindow.cs
- ClientSettings.cs