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
- SchemaCompiler.cs
- MinMaxParagraphWidth.cs
- ChangesetResponse.cs
- DictionaryMarkupSerializer.cs
- ManagedFilter.cs
- ParameterCollection.cs
- __TransparentProxy.cs
- ProfilePropertyMetadata.cs
- MailHeaderInfo.cs
- Encoder.cs
- StylusPointDescription.cs
- dataprotectionpermissionattribute.cs
- MDIClient.cs
- HotSpot.cs
- SqlMethods.cs
- Compilation.cs
- EncoderNLS.cs
- PageCatalogPart.cs
- MLangCodePageEncoding.cs
- SectionXmlInfo.cs
- TcpClientSocketManager.cs
- MailHeaderInfo.cs
- DynamicRendererThreadManager.cs
- PropertyChangeTracker.cs
- InheritanceContextHelper.cs
- NameValueCollection.cs
- SiteOfOriginPart.cs
- FlowDocumentPageViewerAutomationPeer.cs
- AppModelKnownContentFactory.cs
- AvTraceDetails.cs
- TypedDataSourceCodeGenerator.cs
- Utils.cs
- DbCommandTree.cs
- WindowPatternIdentifiers.cs
- Sentence.cs
- IndentedTextWriter.cs
- ReadOnlyCollection.cs
- CodeTypeDelegate.cs
- PkcsUtils.cs
- ConfigDefinitionUpdates.cs
- TextEditorParagraphs.cs
- XmlSchemaAttribute.cs
- XmlQueryOutput.cs
- HttpCookieCollection.cs
- TextHidden.cs
- SessionIDManager.cs
- ProviderSettingsCollection.cs
- ProfileBuildProvider.cs
- SystemPens.cs
- DiagnosticsConfiguration.cs
- OleDbSchemaGuid.cs
- BufferAllocator.cs
- KeyInterop.cs
- RadioButtonPopupAdapter.cs
- SetUserPreferenceRequest.cs
- BackgroundWorker.cs
- WeakReferenceEnumerator.cs
- PixelFormats.cs
- SystemIPInterfaceStatistics.cs
- NegatedConstant.cs
- JapaneseLunisolarCalendar.cs
- SkewTransform.cs
- DbConnectionStringBuilder.cs
- EditorBrowsableAttribute.cs
- FlowPanelDesigner.cs
- DataRow.cs
- XmlSchemaAnyAttribute.cs
- SamlConstants.cs
- DataGridPageChangedEventArgs.cs
- XamlWrappingReader.cs
- BindingMAnagerBase.cs
- GridViewSortEventArgs.cs
- PermissionSetEnumerator.cs
- RelationshipEndMember.cs
- FormsAuthenticationEventArgs.cs
- HGlobalSafeHandle.cs
- AutoResetEvent.cs
- FixedDocumentPaginator.cs
- DockAndAnchorLayout.cs
- TrackBar.cs
- GenericEnumerator.cs
- TableHeaderCell.cs
- RoutedEventArgs.cs
- SqlFacetAttribute.cs
- DbProviderServices.cs
- nulltextnavigator.cs
- DataTableCollection.cs
- bindurihelper.cs
- TableRowGroup.cs
- MissingFieldException.cs
- InvalidCommandTreeException.cs
- TryCatch.cs
- BitmapCodecInfoInternal.cs
- PermissionSet.cs
- SID.cs
- TextShapeableCharacters.cs
- ForwardPositionQuery.cs
- SID.cs
- CompilationUtil.cs
- KeyValueConfigurationElement.cs