Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NamespaceCollection.cs
- SymbolType.cs
- DiscoveryClientProtocol.cs
- COM2ExtendedBrowsingHandler.cs
- ObjectDataSource.cs
- WpfPayload.cs
- DisposableCollectionWrapper.cs
- ActivityDesignerHighlighter.cs
- LabelAutomationPeer.cs
- EventRoute.cs
- CheckBoxPopupAdapter.cs
- ViewgenContext.cs
- PixelShader.cs
- ScrollBar.cs
- SynchronizationLockException.cs
- InvalidateEvent.cs
- ComplexObject.cs
- HtmlInputCheckBox.cs
- TextParagraph.cs
- Matrix.cs
- PreservationFileWriter.cs
- LineServicesCallbacks.cs
- PenCursorManager.cs
- XmlEncoding.cs
- PhysicalFontFamily.cs
- IssuedTokenClientElement.cs
- Exceptions.cs
- Image.cs
- IgnorePropertiesAttribute.cs
- ParentUndoUnit.cs
- UnauthorizedAccessException.cs
- TempFiles.cs
- AttachInfo.cs
- SqlMetaData.cs
- BrushMappingModeValidation.cs
- DataGridParentRows.cs
- XamlRtfConverter.cs
- OperationPickerDialog.cs
- SpanIndex.cs
- UIPermission.cs
- MdImport.cs
- SlipBehavior.cs
- ActiveDocumentEvent.cs
- StoragePropertyMapping.cs
- CurrencyWrapper.cs
- StringFormat.cs
- XmlBufferedByteStreamReader.cs
- Semaphore.cs
- RuleConditionDialog.cs
- ZipIOCentralDirectoryFileHeader.cs
- ColumnMapCopier.cs
- Int64Converter.cs
- DataGridViewColumnCollection.cs
- BehaviorDragDropEventArgs.cs
- TargetControlTypeAttribute.cs
- SecurityDescriptor.cs
- TextSelectionProcessor.cs
- Vector.cs
- odbcmetadatacollectionnames.cs
- basevalidator.cs
- Matrix3DConverter.cs
- IApplicationTrustManager.cs
- Identity.cs
- ChangeNode.cs
- FlatButtonAppearance.cs
- Composition.cs
- WindowsFormsLinkLabel.cs
- Brush.cs
- HtmlContainerControl.cs
- GZipDecoder.cs
- Math.cs
- LinqDataSourceEditData.cs
- SqlTypeConverter.cs
- WindowsFont.cs
- Nodes.cs
- Point3D.cs
- SHA256.cs
- AbsoluteQuery.cs
- DecoderExceptionFallback.cs
- ObjectQueryState.cs
- XmlChildNodes.cs
- PersonalizableAttribute.cs
- CodeAccessSecurityEngine.cs
- HwndPanningFeedback.cs
- ActionItem.cs
- BulletedListEventArgs.cs
- PlainXmlWriter.cs
- BitmapEffectOutputConnector.cs
- WebServiceClientProxyGenerator.cs
- VisualStyleInformation.cs
- DocumentPageView.cs
- InitializeCorrelation.cs
- TcpStreams.cs
- PointCollectionValueSerializer.cs
- FloaterParagraph.cs
- TCPListener.cs
- DiscoveryDefaults.cs
- WpfKnownTypeInvoker.cs
- Camera.cs
- ResourceReader.cs