Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlElement.cs / 1 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- PageAsyncTask.cs
- GatewayIPAddressInformationCollection.cs
- SqlResolver.cs
- FontInfo.cs
- OutputCacheProfile.cs
- DataBinding.cs
- RtfToken.cs
- DetailsViewUpdatedEventArgs.cs
- DbSourceCommand.cs
- ComEventsInfo.cs
- MessageEnumerator.cs
- UnsafeNativeMethods.cs
- SpotLight.cs
- XmlDataSourceNodeDescriptor.cs
- CharAnimationUsingKeyFrames.cs
- TargetException.cs
- BinaryFormatterWriter.cs
- SyndicationDeserializer.cs
- BlockExpression.cs
- Message.cs
- SqlStream.cs
- Transform3D.cs
- SystemIcmpV6Statistics.cs
- SourceInterpreter.cs
- XmlMemberMapping.cs
- ForeignKeyConstraint.cs
- DataGrid.cs
- IdentitySection.cs
- PlacementWorkspace.cs
- ObjectStateFormatter.cs
- TransformPattern.cs
- XmlSchemas.cs
- TypeNameParser.cs
- ProcessStartInfo.cs
- HttpWebRequest.cs
- UserNameSecurityTokenProvider.cs
- CellNormalizer.cs
- ZoomPercentageConverter.cs
- Size3D.cs
- ExceptionRoutedEventArgs.cs
- BaseValidator.cs
- CollaborationHelperFunctions.cs
- TreeNodeBinding.cs
- SortQuery.cs
- NavigatorInvalidBodyAccessException.cs
- TreeIterator.cs
- OutputCache.cs
- Animatable.cs
- ToolStripButton.cs
- DesignConnection.cs
- XPathScanner.cs
- ListItemConverter.cs
- ChangeBlockUndoRecord.cs
- DataBindEngine.cs
- HttpContext.cs
- UnsafeNativeMethods.cs
- SystemInfo.cs
- CompilerHelpers.cs
- PenCursorManager.cs
- GridItemProviderWrapper.cs
- EventLogQuery.cs
- SerializationException.cs
- DataObjectSettingDataEventArgs.cs
- DataRecordInfo.cs
- prompt.cs
- StorageInfo.cs
- XmlWrappingReader.cs
- GenericIdentity.cs
- DataGridViewRowPostPaintEventArgs.cs
- EventRoute.cs
- ResourceSet.cs
- SpellCheck.cs
- TreeViewHitTestInfo.cs
- LookupBindingPropertiesAttribute.cs
- ExtensionQuery.cs
- SafeFileMappingHandle.cs
- ParameterElement.cs
- processwaithandle.cs
- XmlDocument.cs
- UpDownEvent.cs
- Evidence.cs
- SplineQuaternionKeyFrame.cs
- CheckBoxPopupAdapter.cs
- _ConnectionGroup.cs
- SecurityChannelFactory.cs
- DataSourceSelectArguments.cs
- UdpSocket.cs
- ElementUtil.cs
- InlineObject.cs
- ObjectViewQueryResultData.cs
- KerberosReceiverSecurityToken.cs
- AppSettingsReader.cs
- DBDataPermission.cs
- XmlSequenceWriter.cs
- ServiceRouteHandler.cs
- EmptyTextWriter.cs
- Drawing.cs
- DataGridPageChangedEventArgs.cs
- HttpResponseHeader.cs
- GatewayDefinition.cs