Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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. //------------------------------------------------------------------------------ //// 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
- TraceRecords.cs
- WindowsPen.cs
- DesignerDataSchemaClass.cs
- HTTPNotFoundHandler.cs
- FormsAuthenticationUser.cs
- ColorTransform.cs
- GenericWebPart.cs
- Vector3D.cs
- EditorAttribute.cs
- TextServicesCompartmentContext.cs
- FixedElement.cs
- GridViewDeleteEventArgs.cs
- ISessionStateStore.cs
- Authorization.cs
- FileDialog_Vista_Interop.cs
- VirtualPathData.cs
- MsmqHostedTransportManager.cs
- GuidelineSet.cs
- Floater.cs
- SessionStateModule.cs
- ThrowHelper.cs
- MethodBuilderInstantiation.cs
- HtmlAnchor.cs
- QfeChecker.cs
- BufferBuilder.cs
- MultiPropertyDescriptorGridEntry.cs
- ReliableInputConnection.cs
- ConfigXmlWhitespace.cs
- HtmlTextArea.cs
- URLMembershipCondition.cs
- GenerateHelper.cs
- SymbolDocumentInfo.cs
- ObfuscationAttribute.cs
- ClockGroup.cs
- LayoutUtils.cs
- AnnotationService.cs
- IdentityManager.cs
- HybridCollection.cs
- ControlValuePropertyAttribute.cs
- RelatedPropertyManager.cs
- CodeAttributeArgument.cs
- HtmlElementEventArgs.cs
- ObjectCacheSettings.cs
- ContentElementAutomationPeer.cs
- RowVisual.cs
- ISAPIWorkerRequest.cs
- RequestDescription.cs
- ResourceAssociationType.cs
- StylusSystemGestureEventArgs.cs
- AddInServer.cs
- DataGridRowEventArgs.cs
- AutomationPeer.cs
- WebBrowserNavigatedEventHandler.cs
- ActionMessageFilter.cs
- PropertyChangingEventArgs.cs
- SelectionPattern.cs
- DbExpressionVisitor.cs
- HiddenField.cs
- DesignerHelpers.cs
- CustomAttribute.cs
- SelectionPattern.cs
- ExcCanonicalXml.cs
- AttributeCollection.cs
- BCLDebug.cs
- AutoGeneratedFieldProperties.cs
- _LazyAsyncResult.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Rect.cs
- MembershipValidatePasswordEventArgs.cs
- NoPersistProperty.cs
- TcpAppDomainProtocolHandler.cs
- XmlLinkedNode.cs
- ActivityBuilder.cs
- CommandID.cs
- CrossContextChannel.cs
- Separator.cs
- AttachedPropertyBrowsableAttribute.cs
- diagnosticsswitches.cs
- CustomPopupPlacement.cs
- EntityCommandExecutionException.cs
- RowParagraph.cs
- XmlSchemaSimpleContentExtension.cs
- CultureInfoConverter.cs
- DataColumn.cs
- BufferAllocator.cs
- DataGridColumnCollectionEditor.cs
- IconBitmapDecoder.cs
- ModelItemImpl.cs
- PropertyItemInternal.cs
- ResourceExpressionEditor.cs
- HttpCapabilitiesSectionHandler.cs
- Int32CollectionConverter.cs
- XmlSchemaSubstitutionGroup.cs
- XamlHttpHandlerFactory.cs
- ChangeDirector.cs
- CodeTypeOfExpression.cs
- CurrencyWrapper.cs
- EllipseGeometry.cs
- FixedSOMTable.cs
- ContractComponent.cs