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
- CommandEventArgs.cs
- unitconverter.cs
- RowToParametersTransformer.cs
- ExpressionParser.cs
- BinaryMethodMessage.cs
- DataGridState.cs
- ResourcesBuildProvider.cs
- EdmComplexTypeAttribute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- EntityCollectionChangedParams.cs
- URL.cs
- ObjectItemLoadingSessionData.cs
- ObjectKeyFrameCollection.cs
- HandoffBehavior.cs
- ComponentEditorForm.cs
- XmlSchemaAll.cs
- CodeAccessPermission.cs
- UniqueID.cs
- TextFindEngine.cs
- InstanceDescriptor.cs
- LogicalExpr.cs
- DataGridLinkButton.cs
- TextEditorCopyPaste.cs
- DesignBindingPicker.cs
- DES.cs
- CommandID.cs
- ProfileInfo.cs
- PointCollection.cs
- ProbeMatchesCD1.cs
- TypeDependencyAttribute.cs
- SerializationException.cs
- DataGridTablesFactory.cs
- EventSetterHandlerConverter.cs
- ImagingCache.cs
- OperationAbortedException.cs
- GB18030Encoding.cs
- EtwTrace.cs
- OutputCacheModule.cs
- DynamicEntity.cs
- LifetimeServices.cs
- UnsafeNativeMethodsCLR.cs
- FunctionQuery.cs
- MemoryFailPoint.cs
- PageTheme.cs
- ClientSettingsStore.cs
- WebExceptionStatus.cs
- UIHelper.cs
- ObjectCacheHost.cs
- ExpressionReplacer.cs
- SlotInfo.cs
- SchemaCollectionPreprocessor.cs
- ComponentConverter.cs
- precedingsibling.cs
- RuntimeHandles.cs
- HighlightOverlayGlyph.cs
- CatalogPartChrome.cs
- SelectedDatesCollection.cs
- LiteralSubsegment.cs
- MessageEncodingBindingElementImporter.cs
- ADMembershipUser.cs
- TextFormatterImp.cs
- TextRange.cs
- ConnectionPointCookie.cs
- EventDriven.cs
- ImmutableCollection.cs
- WaitForChangedResult.cs
- InputReportEventArgs.cs
- PopupRootAutomationPeer.cs
- SafeSecurityHandles.cs
- CodeAttributeArgument.cs
- GenericAuthenticationEventArgs.cs
- tibetanshape.cs
- ColorContextHelper.cs
- ToolStripItem.cs
- DomainConstraint.cs
- AdPostCacheSubstitution.cs
- ColumnHeaderConverter.cs
- IdentityValidationException.cs
- InternalControlCollection.cs
- TextTreePropertyUndoUnit.cs
- ListItemConverter.cs
- Atom10ItemFormatter.cs
- SerializationAttributes.cs
- FormViewUpdateEventArgs.cs
- CompModSwitches.cs
- BitmapEffectDrawingContent.cs
- IPipelineRuntime.cs
- FlowLayout.cs
- TraceContext.cs
- PrintEvent.cs
- SQLInt32Storage.cs
- SingleAnimationBase.cs
- HtmlTernaryTree.cs
- ViewCellSlot.cs
- DbConnectionStringCommon.cs
- MimeParameter.cs
- SecurityDescriptor.cs
- TextTreeText.cs
- _TransmitFileOverlappedAsyncResult.cs
- WebScriptClientGenerator.cs