Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } // 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
- StringComparer.cs
- AuthenticatingEventArgs.cs
- ComponentEditorForm.cs
- WaitHandle.cs
- TransformerInfo.cs
- PropertyChangeTracker.cs
- PropertyMap.cs
- AutomationIdentifier.cs
- ActivityCodeDomSerializer.cs
- PeerContact.cs
- CompositeCollection.cs
- MediaTimeline.cs
- AssemblySettingAttributes.cs
- JoinCqlBlock.cs
- ColorContext.cs
- SymbolMethod.cs
- SystemInformation.cs
- CalloutQueueItem.cs
- WorkflowClientDeliverMessageWrapper.cs
- ApplicationDirectoryMembershipCondition.cs
- CollectionViewGroup.cs
- SchemaAttDef.cs
- DocumentGridPage.cs
- AppearanceEditorPart.cs
- TypeDescriptionProvider.cs
- HttpCacheVaryByContentEncodings.cs
- Brushes.cs
- StatusBarDrawItemEvent.cs
- CngKeyBlobFormat.cs
- SqlDataSourceView.cs
- SocketStream.cs
- RowVisual.cs
- XmlDeclaration.cs
- BackStopAuthenticationModule.cs
- SerialPort.cs
- SchemaNamespaceManager.cs
- Point.cs
- ReliableSessionBindingElementImporter.cs
- CodeFieldReferenceExpression.cs
- _HeaderInfoTable.cs
- CommandValueSerializer.cs
- RegisteredDisposeScript.cs
- RSAPKCS1SignatureDeformatter.cs
- PropertyKey.cs
- StylusPlugInCollection.cs
- RegexWriter.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SqlTransaction.cs
- _ProxyChain.cs
- DataListCommandEventArgs.cs
- SegmentInfo.cs
- TextServicesLoader.cs
- NullableFloatSumAggregationOperator.cs
- Properties.cs
- DataGridViewCellFormattingEventArgs.cs
- propertyentry.cs
- SizeAnimationBase.cs
- SecurityPolicySection.cs
- JournalEntryStack.cs
- ErrorFormatterPage.cs
- RegistrySecurity.cs
- ToolboxComponentsCreatingEventArgs.cs
- SharedStream.cs
- DBSqlParser.cs
- DateTimeConverter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ScriptManager.cs
- SharedTcpTransportManager.cs
- HtmlTextArea.cs
- UnionCodeGroup.cs
- DocumentAutomationPeer.cs
- MaskDescriptor.cs
- VisualStyleElement.cs
- TdsParserSessionPool.cs
- CopyCodeAction.cs
- DesignerCommandSet.cs
- LightweightCodeGenerator.cs
- SmtpCommands.cs
- UnicastIPAddressInformationCollection.cs
- PathGeometry.cs
- HealthMonitoringSectionHelper.cs
- SerializationSectionGroup.cs
- NamedPipeTransportManager.cs
- AuthorizationSection.cs
- DetailsViewRow.cs
- DSACryptoServiceProvider.cs
- MergablePropertyAttribute.cs
- ObsoleteAttribute.cs
- TrustLevelCollection.cs
- DirectoryObjectSecurity.cs
- PageRouteHandler.cs
- _ProxyChain.cs
- Int64Animation.cs
- GridViewRowPresenter.cs
- SafeEventLogWriteHandle.cs
- DescendentsWalker.cs
- SafeEventLogReadHandle.cs
- CompilerScopeManager.cs
- SignerInfo.cs
- unitconverter.cs