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
- HostingEnvironment.cs
- SymbolTable.cs
- OdbcReferenceCollection.cs
- UpdateCommandGenerator.cs
- OperatorExpressions.cs
- TableColumnCollection.cs
- CodeCompileUnit.cs
- ReadWriteObjectLock.cs
- OracleException.cs
- CachedBitmap.cs
- ColumnReorderedEventArgs.cs
- OdbcCommandBuilder.cs
- RootProfilePropertySettingsCollection.cs
- EventMappingSettingsCollection.cs
- ExtendedPropertiesHandler.cs
- Html32TextWriter.cs
- ProfessionalColorTable.cs
- XmlSchemaComplexContentRestriction.cs
- DbProviderManifest.cs
- LabelAutomationPeer.cs
- XmlSchemaImport.cs
- CodeTypeParameterCollection.cs
- DBPropSet.cs
- MarkupCompilePass1.cs
- CompoundFileDeflateTransform.cs
- AndCondition.cs
- LinkDescriptor.cs
- EmptyElement.cs
- MetadataArtifactLoaderFile.cs
- DesignerAutoFormatCollection.cs
- InputReferenceExpression.cs
- NonParentingControl.cs
- AxisAngleRotation3D.cs
- QueryStringConverter.cs
- DbBuffer.cs
- CriticalExceptions.cs
- PreProcessor.cs
- DropShadowBitmapEffect.cs
- DetailsViewInsertEventArgs.cs
- ListSortDescriptionCollection.cs
- Stylus.cs
- ProfileGroupSettingsCollection.cs
- dtdvalidator.cs
- Visual3D.cs
- JapaneseLunisolarCalendar.cs
- FormsAuthenticationEventArgs.cs
- Viewport3DVisual.cs
- SamlSecurityTokenAuthenticator.cs
- Window.cs
- DependencyPropertyKey.cs
- EventlogProvider.cs
- BaseAddressElement.cs
- MappingMetadataHelper.cs
- TextFragmentEngine.cs
- DisposableCollectionWrapper.cs
- RSAProtectedConfigurationProvider.cs
- CqlParserHelpers.cs
- TrustManagerMoreInformation.cs
- XmlILAnnotation.cs
- SQLCharsStorage.cs
- StrongNameUtility.cs
- Utils.cs
- StrongNameKeyPair.cs
- ComboBox.cs
- DoubleConverter.cs
- Rect3DConverter.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- FormsAuthenticationUser.cs
- StrokeNodeEnumerator.cs
- XNodeValidator.cs
- ReadOnlyPropertyMetadata.cs
- Page.cs
- DecimalConverter.cs
- FieldTemplateFactory.cs
- ClientProxyGenerator.cs
- DetailsViewDeletedEventArgs.cs
- PackWebResponse.cs
- HttpProfileBase.cs
- HuffmanTree.cs
- WsatExtendedInformation.cs
- MetaTableHelper.cs
- TimeEnumHelper.cs
- SQLInt64.cs
- GlobalizationSection.cs
- ListViewItem.cs
- CngProperty.cs
- XPathDocumentNavigator.cs
- IgnorePropertiesAttribute.cs
- VisualTarget.cs
- XmlSerializableReader.cs
- RegionInfo.cs
- UInt64Converter.cs
- TableCell.cs
- PasswordRecovery.cs
- SQLMoney.cs
- IdnElement.cs
- HyperLinkStyle.cs
- DynamicILGenerator.cs
- LinearQuaternionKeyFrame.cs
- ComponentChangingEvent.cs