Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlAttribute.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpConfigurationContext.cs
- SHA256.cs
- DialogResultConverter.cs
- FileEnumerator.cs
- FtpRequestCacheValidator.cs
- WebSysDisplayNameAttribute.cs
- AuthenticationConfig.cs
- AppSettingsReader.cs
- DocumentationServerProtocol.cs
- CodeThrowExceptionStatement.cs
- BaseValidatorDesigner.cs
- TemplatedEditableDesignerRegion.cs
- CollectionBase.cs
- SpeakCompletedEventArgs.cs
- StringBlob.cs
- PageAsyncTaskManager.cs
- XamlTypeWithExplicitNamespace.cs
- SpnEndpointIdentity.cs
- CounterSample.cs
- HtmlTableCell.cs
- XamlFilter.cs
- RayHitTestParameters.cs
- BrowsableAttribute.cs
- AuthenticationManager.cs
- PolicyManager.cs
- GenericsInstances.cs
- TextEditorLists.cs
- PropertyItem.cs
- DocumentOrderQuery.cs
- DefaultEvaluationContext.cs
- EnumUnknown.cs
- ProjectedSlot.cs
- HttpHandlerActionCollection.cs
- SystemTcpConnection.cs
- XmlWriterTraceListener.cs
- SqlServices.cs
- InvalidDataContractException.cs
- MetadataItemEmitter.cs
- ToolStripArrowRenderEventArgs.cs
- ColumnWidthChangingEvent.cs
- FrameDimension.cs
- TargetPerspective.cs
- EncryptedKey.cs
- DataExpression.cs
- WorkflowRuntimeServiceElement.cs
- Grammar.cs
- AnnotationResourceChangedEventArgs.cs
- SqlAggregateChecker.cs
- BitmapCodecInfoInternal.cs
- FixedElement.cs
- DataGridViewDataErrorEventArgs.cs
- ApplicationServiceHelper.cs
- Header.cs
- FileInfo.cs
- AssemblyLoader.cs
- SystemKeyConverter.cs
- XmlEnumAttribute.cs
- OdbcEnvironment.cs
- DynamicMethod.cs
- CategoryGridEntry.cs
- CheckoutException.cs
- OracleDateTime.cs
- NetworkCredential.cs
- CachedCompositeFamily.cs
- LocalizabilityAttribute.cs
- ToolStripDropDown.cs
- invalidudtexception.cs
- EdmPropertyAttribute.cs
- StatusBarPanelClickEvent.cs
- ConfigXmlDocument.cs
- DefaultParameterValueAttribute.cs
- DeobfuscatingStream.cs
- RawKeyboardInputReport.cs
- CheckBoxDesigner.cs
- BinaryParser.cs
- ControlParameter.cs
- _DigestClient.cs
- DocumentPageViewAutomationPeer.cs
- parserscommon.cs
- DataGridCellClipboardEventArgs.cs
- MbpInfo.cs
- StatusBarDesigner.cs
- HttpFileCollection.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- PrePostDescendentsWalker.cs
- OpenTypeLayoutCache.cs
- WebEventCodes.cs
- BasicExpandProvider.cs
- Transform.cs
- QueryExpr.cs
- TraceUtility.cs
- AttributeCollection.cs
- ServerValidateEventArgs.cs
- InlineCategoriesDocument.cs
- KeySplineConverter.cs
- CodeDOMUtility.cs
- COM2PropertyBuilderUITypeEditor.cs
- RawTextInputReport.cs
- WorkflowExecutor.cs
- basecomparevalidator.cs