Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WorkflowInstanceProxy.cs
- CssClassPropertyAttribute.cs
- SchemaImporterExtensionElement.cs
- EpmSyndicationContentDeSerializer.cs
- ClientRuntimeConfig.cs
- DocumentViewerHelper.cs
- ExpressionBindingCollection.cs
- ResetableIterator.cs
- _ListenerAsyncResult.cs
- ValueTypeFieldReference.cs
- IntSecurity.cs
- WebPartRestoreVerb.cs
- XPathNodeInfoAtom.cs
- Empty.cs
- SqlDataReader.cs
- DataColumnPropertyDescriptor.cs
- BufferedConnection.cs
- OperatorExpressions.cs
- ProcessThread.cs
- ListenerConnectionDemuxer.cs
- SvcMapFile.cs
- EntityDataSourceContainerNameItem.cs
- CustomError.cs
- MouseActionConverter.cs
- RemoteWebConfigurationHost.cs
- UIHelper.cs
- TargetControlTypeCache.cs
- XmlDataLoader.cs
- ProtectedUri.cs
- OdbcErrorCollection.cs
- CodeSnippetTypeMember.cs
- DataViewListener.cs
- ComponentEditorForm.cs
- GlyphInfoList.cs
- ExeConfigurationFileMap.cs
- RuntimeConfigurationRecord.cs
- ControlBuilder.cs
- RandomNumberGenerator.cs
- ScrollViewer.cs
- InternalPermissions.cs
- Event.cs
- ConcatQueryOperator.cs
- SystemFonts.cs
- StorageBasedPackageProperties.cs
- OdbcReferenceCollection.cs
- LinqDataSourceEditData.cs
- ReadOnlyCollectionBase.cs
- SecurityPolicySection.cs
- DebugView.cs
- HttpCapabilitiesEvaluator.cs
- ImageAutomationPeer.cs
- EmissiveMaterial.cs
- RepeatEnumerable.cs
- QuestionEventArgs.cs
- Byte.cs
- AssociationProvider.cs
- TypeUtils.cs
- TrustManagerPromptUI.cs
- RegexFCD.cs
- StylusEditingBehavior.cs
- WebUtil.cs
- DocumentOutline.cs
- HttpProfileBase.cs
- TableRowCollection.cs
- OneOfTypeConst.cs
- ScrollViewerAutomationPeer.cs
- TreeNodeMouseHoverEvent.cs
- __ConsoleStream.cs
- MatrixAnimationUsingKeyFrames.cs
- SystemFonts.cs
- X509ChainElement.cs
- CodeChecksumPragma.cs
- SimpleTextLine.cs
- DataErrorValidationRule.cs
- DebugHandleTracker.cs
- CurrencyWrapper.cs
- BooleanToVisibilityConverter.cs
- ProxyGenerator.cs
- AutomationTextAttribute.cs
- DynamicDocumentPaginator.cs
- ErasingStroke.cs
- ImageCodecInfoPrivate.cs
- BatchServiceHost.cs
- Label.cs
- ReadOnlyDictionary.cs
- ZoneIdentityPermission.cs
- RMEnrollmentPage1.cs
- SkinIDTypeConverter.cs
- SqlInternalConnection.cs
- AsyncPostBackErrorEventArgs.cs
- SoapParser.cs
- filewebresponse.cs
- CodeMethodReturnStatement.cs
- Package.cs
- ZipIOBlockManager.cs
- StreamResourceInfo.cs
- PrivateFontCollection.cs
- TextBoxView.cs
- OleDbWrapper.cs
- LogFlushAsyncResult.cs