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
- FullTrustAssembly.cs
- OutOfProcStateClientManager.cs
- RewritingProcessor.cs
- ClassicBorderDecorator.cs
- PageContentAsyncResult.cs
- LinkArea.cs
- MarkedHighlightComponent.cs
- DoWhile.cs
- OverlappedAsyncResult.cs
- EditableTreeList.cs
- AppDomainAttributes.cs
- FtpRequestCacheValidator.cs
- ModelTreeEnumerator.cs
- TableCellCollection.cs
- FirstMatchCodeGroup.cs
- CatalogPartCollection.cs
- SocketAddress.cs
- OperationInfo.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- PtsPage.cs
- X509Extension.cs
- BinaryReader.cs
- Quaternion.cs
- FilterableAttribute.cs
- RowToParametersTransformer.cs
- BamlResourceContent.cs
- NamespaceDisplay.xaml.cs
- InertiaRotationBehavior.cs
- AutomationEventArgs.cs
- ReflectionPermission.cs
- HttpWebResponse.cs
- OutputCacheProfileCollection.cs
- HeaderElement.cs
- EpmSourceTree.cs
- HandlerMappingMemo.cs
- Transform3DGroup.cs
- CommandID.cs
- ParameterCollectionEditorForm.cs
- SharedPersonalizationStateInfo.cs
- QueryResultOp.cs
- TablePatternIdentifiers.cs
- TreeNodeClickEventArgs.cs
- RestHandler.cs
- ClientTarget.cs
- DynamicDataManager.cs
- DPAPIProtectedConfigurationProvider.cs
- NativeRecognizer.cs
- sqlser.cs
- PagePropertiesChangingEventArgs.cs
- XslTransform.cs
- Point3DIndependentAnimationStorage.cs
- TableParagraph.cs
- ErrorTableItemStyle.cs
- DateTimeEditor.cs
- PageSetupDialog.cs
- Latin1Encoding.cs
- EmptyControlCollection.cs
- Translator.cs
- ProjectionPathBuilder.cs
- ManagementException.cs
- Operators.cs
- ProfileEventArgs.cs
- EntityWithChangeTrackerStrategy.cs
- WindowsListViewSubItem.cs
- RuntimeArgumentHandle.cs
- SafeProcessHandle.cs
- ExplicitDiscriminatorMap.cs
- XmlSchemaSimpleContentRestriction.cs
- ReflectionUtil.cs
- HtmlSelect.cs
- PointAnimationClockResource.cs
- UnsafeNativeMethodsMilCoreApi.cs
- StringArrayConverter.cs
- ObjectDataSourceFilteringEventArgs.cs
- AuthorizationSection.cs
- ErrorFormatterPage.cs
- Pen.cs
- SspiSafeHandles.cs
- MailAddressCollection.cs
- WebPartAuthorizationEventArgs.cs
- Span.cs
- XmlReader.cs
- _OverlappedAsyncResult.cs
- ComponentRenameEvent.cs
- ModuleElement.cs
- AnimationClock.cs
- PolyQuadraticBezierSegment.cs
- ColorConvertedBitmapExtension.cs
- SignatureResourceHelper.cs
- RichTextBoxConstants.cs
- WorkflowApplicationCompletedException.cs
- ContainerParagraph.cs
- ProxySimple.cs
- MasterPageBuildProvider.cs
- XmlSerializerVersionAttribute.cs
- ExpressionNormalizer.cs
- SoapObjectReader.cs
- ZoomPercentageConverter.cs
- ParallelActivityDesigner.cs
- CommandValueSerializer.cs