Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- NativeMsmqMessage.cs
- FamilyTypeface.cs
- XmlStringTable.cs
- SqlDataReaderSmi.cs
- Tablet.cs
- Triplet.cs
- LogicalTreeHelper.cs
- SmuggledIUnknown.cs
- MarkupCompilePass2.cs
- ContentPropertyAttribute.cs
- Vector3D.cs
- RemoteX509Token.cs
- ProtocolsConfigurationHandler.cs
- RIPEMD160Managed.cs
- DataSourceCollectionBase.cs
- SecurityStandardsManager.cs
- OracleConnectionString.cs
- LinqDataSourceContextEventArgs.cs
- ImplicitInputBrush.cs
- XmlCharacterData.cs
- metadatamappinghashervisitor.cs
- MachineKey.cs
- GeneralTransform3DCollection.cs
- ProtectedConfigurationSection.cs
- ResourcePermissionBase.cs
- NumericUpDownAccelerationCollection.cs
- FrameworkObject.cs
- FormsAuthentication.cs
- DocumentApplicationDocumentViewer.cs
- DetailsViewUpdateEventArgs.cs
- PartialCachingControl.cs
- EncodingInfo.cs
- XAMLParseException.cs
- GraphicsContext.cs
- ParameterReplacerVisitor.cs
- JsonQNameDataContract.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TableRowGroup.cs
- Semaphore.cs
- TextAdaptor.cs
- MergePropertyDescriptor.cs
- LayoutSettings.cs
- CurrentChangingEventManager.cs
- HTTPNotFoundHandler.cs
- SourceExpressionException.cs
- ConfigurationManager.cs
- SafeCryptContextHandle.cs
- UInt64Converter.cs
- Int16Storage.cs
- ColumnMapProcessor.cs
- Label.cs
- TableItemProviderWrapper.cs
- TextFormatter.cs
- EncodingTable.cs
- DeviceContext2.cs
- ProgressBarBrushConverter.cs
- OrthographicCamera.cs
- CustomError.cs
- DnsCache.cs
- XmlDataSourceNodeDescriptor.cs
- GridPatternIdentifiers.cs
- WebPartEditorApplyVerb.cs
- FragmentQuery.cs
- StylusDownEventArgs.cs
- NativeObjectSecurity.cs
- InstanceDataCollection.cs
- MediaEntryAttribute.cs
- DataGridViewAccessibleObject.cs
- relpropertyhelper.cs
- UserControlBuildProvider.cs
- ConstructorBuilder.cs
- SqlCommand.cs
- DataGridViewColumnEventArgs.cs
- Screen.cs
- Triangle.cs
- ClientEventManager.cs
- MSAAWinEventWrap.cs
- AsymmetricAlgorithm.cs
- ProfileParameter.cs
- SecUtil.cs
- Grant.cs
- LiteralText.cs
- InvalidWMPVersionException.cs
- LogStore.cs
- HtmlEncodedRawTextWriter.cs
- ToolStripDropDownClosedEventArgs.cs
- PrintingPermissionAttribute.cs
- DatatypeImplementation.cs
- SystemIcmpV6Statistics.cs
- WebConfigurationHostFileChange.cs
- RankException.cs
- Script.cs
- Material.cs
- BamlCollectionHolder.cs
- Internal.cs
- Events.cs
- ResumeStoryboard.cs
- DynamicDiscoSearcher.cs
- SqlEnums.cs
- recordstate.cs