Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- UIElementCollection.cs
- KnownTypeAttribute.cs
- TaiwanCalendar.cs
- CellTreeNodeVisitors.cs
- HtmlEmptyTagControlBuilder.cs
- SerializationTrace.cs
- DetailsViewRow.cs
- QuadTree.cs
- DataGridViewColumnTypeEditor.cs
- CodeConstructor.cs
- BaseParaClient.cs
- RequestCacheValidator.cs
- ComplexPropertyEntry.cs
- SqlParameterCollection.cs
- oledbmetadatacollectionnames.cs
- TableAdapterManagerHelper.cs
- BamlMapTable.cs
- StrokeIntersection.cs
- SqlDataRecord.cs
- If.cs
- ToolStripSeparator.cs
- XMLUtil.cs
- RuleSettingsCollection.cs
- ConstructorBuilder.cs
- MenuCommand.cs
- ImageIndexConverter.cs
- TablePattern.cs
- UInt16Converter.cs
- RightsManagementPermission.cs
- XamlTypeMapperSchemaContext.cs
- EventHandlersStore.cs
- DataGridViewCellEventArgs.cs
- LiteralControl.cs
- DocumentPage.cs
- ErrorWebPart.cs
- TabControlEvent.cs
- KeyToListMap.cs
- HtmlWindowCollection.cs
- CommentEmitter.cs
- MailWebEventProvider.cs
- XmlSchemaObjectTable.cs
- VisemeEventArgs.cs
- TextEditorThreadLocalStore.cs
- ImageIndexConverter.cs
- PreviewPrintController.cs
- TreeViewAutomationPeer.cs
- HttpListenerResponse.cs
- DateTimeConstantAttribute.cs
- FSWPathEditor.cs
- Compiler.cs
- ClickablePoint.cs
- ItemCollection.cs
- Operators.cs
- TabRenderer.cs
- ChtmlSelectionListAdapter.cs
- FixedTextPointer.cs
- TriggerCollection.cs
- WebPartDisplayMode.cs
- HttpSessionStateBase.cs
- InstanceValue.cs
- BitArray.cs
- SR.cs
- WebResourceUtil.cs
- ThrowOnMultipleAssignment.cs
- WorkflowMarkupSerializationManager.cs
- EntityDataSourceViewSchema.cs
- ListViewGroupConverter.cs
- ColorMap.cs
- DispatcherHookEventArgs.cs
- AssociationTypeEmitter.cs
- HtmlControlPersistable.cs
- safex509handles.cs
- LazyTextWriterCreator.cs
- PersonalizationProviderCollection.cs
- CultureSpecificCharacterBufferRange.cs
- XmlArrayItemAttributes.cs
- ApplicationSecurityInfo.cs
- PolyLineSegment.cs
- Unit.cs
- NestedContainer.cs
- DataGridViewSelectedRowCollection.cs
- IndependentAnimationStorage.cs
- PersonalizableTypeEntry.cs
- DesignerTextViewAdapter.cs
- Listbox.cs
- XsdDuration.cs
- BinaryReader.cs
- ReliableSessionBindingElement.cs
- safelink.cs
- CodeVariableDeclarationStatement.cs
- DbFunctionCommandTree.cs
- UpdateTranslator.cs
- BaseTemplatedMobileComponentEditor.cs
- Vector3DValueSerializer.cs
- PageRanges.cs
- Misc.cs
- UnknownBitmapEncoder.cs
- CompiledELinqQueryState.cs
- IdentitySection.cs
- DebugView.cs