Code:
/ DotNET / DotNET / 8.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
- SqlError.cs
- TextBoxBase.cs
- DataExpression.cs
- ServiceDescriptions.cs
- UserNameSecurityToken.cs
- RoutedEventArgs.cs
- FacetChecker.cs
- PersistenceProviderElement.cs
- MetaTableHelper.cs
- UserMapPath.cs
- XmlCountingReader.cs
- ByteStorage.cs
- SendContent.cs
- LiteralTextContainerControlBuilder.cs
- SecurityContextSecurityToken.cs
- DataObjectAttribute.cs
- XmlChoiceIdentifierAttribute.cs
- SequenceDesigner.cs
- TdsValueSetter.cs
- Int32RectConverter.cs
- HMACSHA384.cs
- MessageEncoderFactory.cs
- PropertyValidationContext.cs
- WindowsButton.cs
- CodeDomConfigurationHandler.cs
- TextMetrics.cs
- ItemContainerGenerator.cs
- AttributeAction.cs
- BmpBitmapEncoder.cs
- NumberFormatter.cs
- ViewCellSlot.cs
- MediaCommands.cs
- NamedPermissionSet.cs
- RectangleGeometry.cs
- StateMachineWorkflowInstance.cs
- CodeVariableReferenceExpression.cs
- TypeTypeConverter.cs
- ExecutionContext.cs
- XmlILOptimizerVisitor.cs
- DateTimeConverter.cs
- InnerItemCollectionView.cs
- DesignOnlyAttribute.cs
- VectorKeyFrameCollection.cs
- HyperlinkAutomationPeer.cs
- TypefaceMetricsCache.cs
- Model3D.cs
- URLString.cs
- XPathNavigatorException.cs
- coordinatorfactory.cs
- BevelBitmapEffect.cs
- EntityClientCacheKey.cs
- SymLanguageType.cs
- TreeNodeCollection.cs
- DetailsViewAutoFormat.cs
- XsltLibrary.cs
- UInt64Converter.cs
- HtmlInputHidden.cs
- Preprocessor.cs
- ImageIndexConverter.cs
- SymDocumentType.cs
- DataBoundControl.cs
- XmlHierarchyData.cs
- MessageProtectionOrder.cs
- X509CertificateStore.cs
- JournalEntryListConverter.cs
- EntityDataSourceChangedEventArgs.cs
- DesignTimeDataBinding.cs
- DocumentReferenceCollection.cs
- SerializationBinder.cs
- ObjectDataSourceStatusEventArgs.cs
- CoreChannel.cs
- RangeBaseAutomationPeer.cs
- XpsImageSerializationService.cs
- AttributeCollection.cs
- WindowsSecurityToken.cs
- HttpCookie.cs
- Form.cs
- XmlChildEnumerator.cs
- DataList.cs
- Part.cs
- XmlMapping.cs
- KeyInterop.cs
- ZipIOExtraFieldPaddingElement.cs
- PreDigestedSignedInfo.cs
- CacheMemory.cs
- StrongNameMembershipCondition.cs
- ApplicationInfo.cs
- IpcManager.cs
- SystemParameters.cs
- FormViewRow.cs
- regiisutil.cs
- SocketPermission.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TreeBuilder.cs
- CustomAssemblyResolver.cs
- IssuanceTokenProviderState.cs
- EditingMode.cs
- KeyEventArgs.cs
- RadioButtonPopupAdapter.cs
- Msec.cs