Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- FlowLayoutPanel.cs
- ExtensionWindowHeader.cs
- BitmapEffectrendercontext.cs
- ProvidersHelper.cs
- _OSSOCK.cs
- MembershipValidatePasswordEventArgs.cs
- GACIdentityPermission.cs
- HtmlInputImage.cs
- SingleKeyFrameCollection.cs
- SolidBrush.cs
- ImmutableAssemblyCacheEntry.cs
- ISAPIWorkerRequest.cs
- AsyncOperationManager.cs
- TextRange.cs
- KeyConstraint.cs
- ImageMapEventArgs.cs
- MemberListBinding.cs
- XXXOnTypeBuilderInstantiation.cs
- BoundsDrawingContextWalker.cs
- SqlDataSourceCommandEventArgs.cs
- WindowsScrollBarBits.cs
- UInt64Storage.cs
- HotCommands.cs
- ExtractorMetadata.cs
- EntitySqlQueryState.cs
- TerminateSequenceResponse.cs
- BCLDebug.cs
- XmlDataCollection.cs
- RelationshipEndCollection.cs
- TriggerBase.cs
- ProcessExitedException.cs
- BrushMappingModeValidation.cs
- StatusBarPanelClickEvent.cs
- WSDualHttpBindingCollectionElement.cs
- DesignerProperties.cs
- ToolBarButtonClickEvent.cs
- MgmtConfigurationRecord.cs
- TypefaceCollection.cs
- CorrelationManager.cs
- MessagePropertyFilter.cs
- SpeechEvent.cs
- SafeArrayRankMismatchException.cs
- BuilderInfo.cs
- SimpleWebHandlerParser.cs
- ErrorEventArgs.cs
- TemplateXamlTreeBuilder.cs
- SoapHeaderException.cs
- BindableAttribute.cs
- TrackingMemoryStreamFactory.cs
- Int64Animation.cs
- SweepDirectionValidation.cs
- SchemaCollectionPreprocessor.cs
- Configuration.cs
- HttpListenerRequest.cs
- ListViewSelectEventArgs.cs
- XPathExpr.cs
- TextTreeNode.cs
- MemberMemberBinding.cs
- PeerNameRecordCollection.cs
- OptionalColumn.cs
- FileSecurity.cs
- DocumentGrid.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- IteratorFilter.cs
- Hash.cs
- DataGridViewAutoSizeModeEventArgs.cs
- BaseInfoTable.cs
- DbResourceAllocator.cs
- PageParser.cs
- ConfigXmlText.cs
- IDReferencePropertyAttribute.cs
- ApplicationSettingsBase.cs
- VectorKeyFrameCollection.cs
- ParameterToken.cs
- SHA1Managed.cs
- Size.cs
- CheckBoxBaseAdapter.cs
- DesignerObjectListAdapter.cs
- NoneExcludedImageIndexConverter.cs
- XsdCachingReader.cs
- CanonicalFontFamilyReference.cs
- BasePattern.cs
- DesignerAdapterAttribute.cs
- AutomationIdentifier.cs
- IIS7UserPrincipal.cs
- WrappedKeySecurityTokenParameters.cs
- CookieProtection.cs
- XmlSchemaImporter.cs
- StructuredType.cs
- ConnectionManager.cs
- BindingValueChangedEventArgs.cs
- ISAPIRuntime.cs
- XmlReflectionMember.cs
- XmlSchemaImporter.cs
- XmlSchemaFacet.cs
- Odbc32.cs
- DataListItem.cs
- WebPartZoneCollection.cs
- InputScopeAttribute.cs
- DockPanel.cs