Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- SmiGettersStream.cs
- Attribute.cs
- WmlTextViewAdapter.cs
- PixelFormats.cs
- TemplateInstanceAttribute.cs
- DataContract.cs
- webclient.cs
- JoinElimination.cs
- AssociationTypeEmitter.cs
- _ShellExpression.cs
- BinaryWriter.cs
- WizardPanel.cs
- KeyConstraint.cs
- List.cs
- LoadedOrUnloadedOperation.cs
- OletxEnlistment.cs
- TimeZone.cs
- BevelBitmapEffect.cs
- InputScopeConverter.cs
- PersonalizationProviderCollection.cs
- Drawing.cs
- SharedConnectionInfo.cs
- UserCancellationException.cs
- CalendarData.cs
- GradientBrush.cs
- DesignTimeParseData.cs
- RegexTree.cs
- ClientSettingsStore.cs
- WebPartsPersonalizationAuthorization.cs
- FlowDocumentPageViewerAutomationPeer.cs
- connectionpool.cs
- PackageFilter.cs
- WebPartCancelEventArgs.cs
- DefaultEventAttribute.cs
- TypeSource.cs
- Enum.cs
- QueryCacheManager.cs
- SortQuery.cs
- TextContainer.cs
- AuthenticatedStream.cs
- NativeMethods.cs
- MachineKeyConverter.cs
- initElementDictionary.cs
- CodeIdentifier.cs
- AddInContractAttribute.cs
- VBCodeProvider.cs
- MaterializeFromAtom.cs
- FontCacheUtil.cs
- LayoutUtils.cs
- IOException.cs
- TransformerInfo.cs
- ValidatedControlConverter.cs
- SystemUnicastIPAddressInformation.cs
- DifferencingCollection.cs
- ModelTreeEnumerator.cs
- TextDecorations.cs
- CommandField.cs
- WorkflowMarkupSerializationManager.cs
- sqlstateclientmanager.cs
- DefinitionBase.cs
- Pkcs7Signer.cs
- MobileControlsSectionHelper.cs
- RequestCacheValidator.cs
- RemoteWebConfigurationHostStream.cs
- SqlCachedBuffer.cs
- QuerySafeNavigator.cs
- CodeGeneratorOptions.cs
- TextAction.cs
- FragmentQueryProcessor.cs
- OrthographicCamera.cs
- WSFederationHttpSecurityMode.cs
- WorkflowInstanceExtensionManager.cs
- xmlsaver.cs
- SimpleParser.cs
- NameValueFileSectionHandler.cs
- StrongNameUtility.cs
- ScopelessEnumAttribute.cs
- UnsettableComboBox.cs
- NavigationCommands.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- TextRunCacheImp.cs
- ParserOptions.cs
- PixelShader.cs
- WindowsListBox.cs
- CheckBox.cs
- LinqDataSourceDeleteEventArgs.cs
- InvalidPrinterException.cs
- BitmapImage.cs
- AdRotatorDesigner.cs
- DataGridLinkButton.cs
- AssemblyInfo.cs
- ClaimComparer.cs
- Error.cs
- ConnectionPoint.cs
- LocatorGroup.cs
- BaseCollection.cs
- AbstractDataSvcMapFileLoader.cs
- DateTimeFormatInfo.cs
- XPathNodeHelper.cs
- XmlDictionaryString.cs