Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlAttribute.cs / 1 / ConfigXmlAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // 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
- CategoryNameCollection.cs
- ContextQuery.cs
- QilXmlReader.cs
- followingquery.cs
- CustomPopupPlacement.cs
- RelOps.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- GroupItem.cs
- KeyConverter.cs
- StringDictionary.cs
- EasingKeyFrames.cs
- QilXmlWriter.cs
- DynamicPropertyReader.cs
- GridViewCancelEditEventArgs.cs
- AsmxEndpointPickerExtension.cs
- QilXmlWriter.cs
- WebPartEditorCancelVerb.cs
- MetafileHeaderWmf.cs
- Site.cs
- AdPostCacheSubstitution.cs
- EdmScalarPropertyAttribute.cs
- SafeProcessHandle.cs
- IISUnsafeMethods.cs
- Win32.cs
- StrokeCollectionConverter.cs
- TextCollapsingProperties.cs
- NullableDecimalAverageAggregationOperator.cs
- DbException.cs
- TypeBrowser.xaml.cs
- TreeNodeBinding.cs
- GradientBrush.cs
- CustomValidator.cs
- ClientSettingsProvider.cs
- XmlNodeList.cs
- ItemCollection.cs
- XmlSortKey.cs
- SelectedDatesCollection.cs
- XmlSchemaObjectCollection.cs
- TreeNodeCollectionEditor.cs
- TdsParserSafeHandles.cs
- GridViewRowCollection.cs
- MULTI_QI.cs
- SimpleTypesSurrogate.cs
- TablePatternIdentifiers.cs
- CodeDirectoryCompiler.cs
- Encoding.cs
- ComponentEvent.cs
- IndentTextWriter.cs
- JsonXmlDataContract.cs
- ConfigurationSettings.cs
- WebPartEditVerb.cs
- XsltSettings.cs
- elementinformation.cs
- NotCondition.cs
- Mouse.cs
- PeerChannelListener.cs
- SiteMapProvider.cs
- SeekStoryboard.cs
- OperationParameterInfoCollection.cs
- ThicknessAnimationBase.cs
- wgx_sdk_version.cs
- HashCodeCombiner.cs
- ValidationPropertyAttribute.cs
- HttpResponseBase.cs
- FileLogRecordEnumerator.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SchemaManager.cs
- ArrayList.cs
- Soap.cs
- GradientBrush.cs
- BuildProvider.cs
- HierarchicalDataSourceControl.cs
- DesignerRegionMouseEventArgs.cs
- ResourceDescriptionAttribute.cs
- querybuilder.cs
- XamlGridLengthSerializer.cs
- PrinterResolution.cs
- ParamArrayAttribute.cs
- WebPartsSection.cs
- EntityContainerEmitter.cs
- BitmapImage.cs
- ThicknessAnimation.cs
- DataColumnMapping.cs
- TCEAdapterGenerator.cs
- WebPartAddingEventArgs.cs
- SmtpFailedRecipientsException.cs
- PersonalizationStateQuery.cs
- SafePipeHandle.cs
- VectorCollectionValueSerializer.cs
- DoubleSumAggregationOperator.cs
- InProcStateClientManager.cs
- GeneralTransformGroup.cs
- CachingHintValidation.cs
- _NestedSingleAsyncResult.cs
- LogLogRecordEnumerator.cs
- TextRangeEditLists.cs
- SchemaElementLookUpTableEnumerator.cs
- GlyphCache.cs
- ConnectionsZoneDesigner.cs
- WindowsFormsHelpers.cs