Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UInt64.cs
- JavascriptCallbackMessageInspector.cs
- HandoffBehavior.cs
- RangeValidator.cs
- ResXResourceWriter.cs
- AddInEnvironment.cs
- XmlObjectSerializerReadContextComplex.cs
- ClientSponsor.cs
- JsonCollectionDataContract.cs
- TemplateBuilder.cs
- DataTableTypeConverter.cs
- KoreanLunisolarCalendar.cs
- EntityObject.cs
- Set.cs
- InheritanceAttribute.cs
- metadatamappinghashervisitor.cs
- InputElement.cs
- SqlSelectClauseBuilder.cs
- MergeFilterQuery.cs
- Converter.cs
- LocatorManager.cs
- ContentPlaceHolder.cs
- TableSectionStyle.cs
- DictionarySectionHandler.cs
- InputQueueChannel.cs
- WebResourceUtil.cs
- ResourceContainerWrapper.cs
- AppDomain.cs
- IDispatchConstantAttribute.cs
- DataGridViewCellEventArgs.cs
- BindingCompleteEventArgs.cs
- DecoderBestFitFallback.cs
- Shape.cs
- BinarySerializer.cs
- Vector3DIndependentAnimationStorage.cs
- XsltContext.cs
- WorkflowApplicationCompletedEventArgs.cs
- Point4D.cs
- ActivityExecutor.cs
- TextDecorationCollection.cs
- PersianCalendar.cs
- DataGridViewCellParsingEventArgs.cs
- FloaterParagraph.cs
- DateTimeParse.cs
- HttpValueCollection.cs
- Constants.cs
- ConstraintStruct.cs
- CompatibleIComparer.cs
- ForeignConstraint.cs
- RenamedEventArgs.cs
- FormatPage.cs
- ExpandSegmentCollection.cs
- LayoutInformation.cs
- MatrixConverter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- UTF7Encoding.cs
- ProfileParameter.cs
- GcHandle.cs
- CacheAxisQuery.cs
- Rotation3DAnimationBase.cs
- ButtonDesigner.cs
- RuntimeConfigurationRecord.cs
- TdsParserHelperClasses.cs
- KeyProperty.cs
- BitmapEffectDrawingContextState.cs
- ScriptComponentDescriptor.cs
- SelfIssuedSamlTokenFactory.cs
- ConstraintCollection.cs
- StdRegProviderWrapper.cs
- serverconfig.cs
- ListMarkerLine.cs
- ValidatedMobileControlConverter.cs
- ShadowGlyph.cs
- CustomCategoryAttribute.cs
- RepeaterCommandEventArgs.cs
- TraceContextRecord.cs
- DataGridItem.cs
- StreamHelper.cs
- KeyTime.cs
- DrawingContextDrawingContextWalker.cs
- Codec.cs
- TypeContext.cs
- CatalogPartChrome.cs
- DataPagerField.cs
- DataColumnMapping.cs
- ToolStripPanelDesigner.cs
- __Filters.cs
- DrawingGroup.cs
- BufferedWebEventProvider.cs
- ConsoleEntryPoint.cs
- KeyedCollection.cs
- NegationPusher.cs
- BamlBinaryReader.cs
- BufferedStream.cs
- IndexedString.cs
- UnmanagedHandle.cs
- RelationshipConverter.cs
- XmlILTrace.cs
- TextParagraphView.cs
- BinaryMessageFormatter.cs