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
- HwndStylusInputProvider.cs
- Stopwatch.cs
- streamingZipPartStream.cs
- DataGridViewCellMouseEventArgs.cs
- ProfileGroupSettings.cs
- StorageFunctionMapping.cs
- DataGridViewComboBoxColumn.cs
- XmlParserContext.cs
- HtmlTextArea.cs
- GraphicsPathIterator.cs
- ArrayList.cs
- NetTcpSecurity.cs
- embossbitmapeffect.cs
- AlphabeticalEnumConverter.cs
- TreeNodeClickEventArgs.cs
- ArithmeticException.cs
- BitConverter.cs
- ClassicBorderDecorator.cs
- MeasureData.cs
- SetUserPreferenceRequest.cs
- ApplicationServicesHostFactory.cs
- HostedTcpTransportManager.cs
- MetadataCollection.cs
- SafeHandle.cs
- FixedTextContainer.cs
- HttpException.cs
- MessageQueue.cs
- InvokePattern.cs
- XmlDesignerDataSourceView.cs
- RegexMatchCollection.cs
- RequiredAttributeAttribute.cs
- NetworkInformationException.cs
- InkCanvasInnerCanvas.cs
- StackSpiller.Generated.cs
- SelectionChangedEventArgs.cs
- DBSchemaTable.cs
- DetailsViewModeEventArgs.cs
- X509ChainElement.cs
- Quaternion.cs
- MultipleViewProviderWrapper.cs
- SynchronousReceiveBehavior.cs
- WebBrowserBase.cs
- UnsupportedPolicyOptionsException.cs
- AssemblyNameProxy.cs
- AccessedThroughPropertyAttribute.cs
- LoginUtil.cs
- EventEntry.cs
- _FtpDataStream.cs
- Rect.cs
- SystemResourceKey.cs
- CodeIdentifiers.cs
- ListManagerBindingsCollection.cs
- SessionEndedEventArgs.cs
- QueueTransferProtocol.cs
- GenericEnumConverter.cs
- RegexCompilationInfo.cs
- WebPartDisplayModeEventArgs.cs
- NullableIntSumAggregationOperator.cs
- DotExpr.cs
- X500Name.cs
- BookmarkNameHelper.cs
- ApplicationDirectory.cs
- ValidationResult.cs
- AspCompat.cs
- TextSchema.cs
- ListViewUpdateEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- ProviderCollection.cs
- WpfXamlType.cs
- PropertyItem.cs
- ItemsChangedEventArgs.cs
- EngineSiteSapi.cs
- WindowsServiceElement.cs
- AssociationType.cs
- BuildProvider.cs
- NativeStructs.cs
- VBIdentifierName.cs
- ProfileService.cs
- SrgsSemanticInterpretationTag.cs
- XmlValidatingReader.cs
- XmlCharType.cs
- BuiltInExpr.cs
- XmlSchemaType.cs
- DataColumnChangeEvent.cs
- TimeSpanMinutesConverter.cs
- DataSetFieldSchema.cs
- SelectiveScrollingGrid.cs
- TypeSystemProvider.cs
- Psha1DerivedKeyGenerator.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ClientSponsor.cs
- RoutedEventHandlerInfo.cs
- CheckBox.cs
- LockCookie.cs
- ArrayList.cs
- SapiGrammar.cs
- TextParagraphCache.cs
- TraceInternal.cs
- WorkflowInstanceProxy.cs
- HttpListenerPrefixCollection.cs