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
- FormatVersion.cs
- GridViewHeaderRowPresenter.cs
- TabOrder.cs
- LayoutEngine.cs
- CapabilitiesPattern.cs
- DelegatingChannelListener.cs
- CleanUpVirtualizedItemEventArgs.cs
- DispatcherProcessingDisabled.cs
- StylusPlugInCollection.cs
- GlyphingCache.cs
- ListViewItemMouseHoverEvent.cs
- HierarchicalDataBoundControlAdapter.cs
- FileLogRecordHeader.cs
- Accessors.cs
- Pair.cs
- MessageHeaderDescription.cs
- AnnotationHelper.cs
- LocalValueEnumerator.cs
- ServiceDesigner.xaml.cs
- BitStack.cs
- ApplicationSettingsBase.cs
- ReferenceCountedObject.cs
- JpegBitmapEncoder.cs
- Win32Exception.cs
- CodeAccessSecurityEngine.cs
- ContextDataSourceView.cs
- RelationshipDetailsCollection.cs
- NetworkInformationPermission.cs
- Scalars.cs
- ToolStripItemRenderEventArgs.cs
- Size.cs
- RegexNode.cs
- TextPenaltyModule.cs
- DataListItemEventArgs.cs
- StrongNameIdentityPermission.cs
- ScanQueryOperator.cs
- CustomAssemblyResolver.cs
- ExtendedPropertyInfo.cs
- BasePropertyDescriptor.cs
- TextEndOfLine.cs
- CodeActivityContext.cs
- ObjectDisposedException.cs
- ResXResourceWriter.cs
- FlowDecisionLabelFeature.cs
- UIElementPropertyUndoUnit.cs
- ColumnResizeUndoUnit.cs
- ConfigXmlWhitespace.cs
- Container.cs
- DataTableNameHandler.cs
- D3DImage.cs
- LinqDataSourceUpdateEventArgs.cs
- TwoPhaseCommit.cs
- GCHandleCookieTable.cs
- WpfXamlType.cs
- ObjectDataSourceView.cs
- TickBar.cs
- TreeViewCancelEvent.cs
- MultipleViewProviderWrapper.cs
- XmlStreamStore.cs
- BaseParagraph.cs
- XmlSerializationReader.cs
- DesignerDataRelationship.cs
- TcpProcessProtocolHandler.cs
- PtsContext.cs
- KeyValueConfigurationElement.cs
- DesignerVerb.cs
- FormsAuthenticationConfiguration.cs
- NotifyParentPropertyAttribute.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- ConditionalAttribute.cs
- JournalEntry.cs
- CacheAxisQuery.cs
- TextParagraphView.cs
- SchemaImporterExtensionsSection.cs
- ChtmlTextBoxAdapter.cs
- WindowsAuthenticationEventArgs.cs
- XmlWhitespace.cs
- cookie.cs
- AspNetHostingPermission.cs
- TypeBuilder.cs
- ConnectionPoolManager.cs
- ActivityExecutor.cs
- TiffBitmapDecoder.cs
- ToolStripSplitButton.cs
- OleServicesContext.cs
- MouseOverProperty.cs
- SourceFileBuildProvider.cs
- ImageList.cs
- XsltLibrary.cs
- CodeMethodReturnStatement.cs
- DesignerVerbCollection.cs
- ScrollChrome.cs
- Control.cs
- ImportOptions.cs
- RecognizerBase.cs
- IODescriptionAttribute.cs
- AbstractDataSvcMapFileLoader.cs
- IndependentAnimationStorage.cs
- NullableFloatAverageAggregationOperator.cs
- ContentType.cs