Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- WindowsGraphicsWrapper.cs
- MenuCommands.cs
- CultureTableRecord.cs
- ListControlBoundActionList.cs
- ToolBarButtonClickEvent.cs
- DecoderExceptionFallback.cs
- XmlEnumAttribute.cs
- HtmlPageAdapter.cs
- ConnectionConsumerAttribute.cs
- DataGridViewControlCollection.cs
- PrefixQName.cs
- WebPartEventArgs.cs
- CommandConverter.cs
- SecureUICommand.cs
- DetailsViewRowCollection.cs
- StreamGeometryContext.cs
- UIElement.cs
- RouteItem.cs
- MetadataUtil.cs
- XmlAnyAttributeAttribute.cs
- ScriptServiceAttribute.cs
- RowVisual.cs
- HttpCookiesSection.cs
- GenerateHelper.cs
- Expressions.cs
- NullableLongMinMaxAggregationOperator.cs
- RuleProcessor.cs
- GridViewColumnCollection.cs
- UTF32Encoding.cs
- ToolStripDropDownItem.cs
- XmlSchemaException.cs
- cookiecollection.cs
- XmlObjectSerializerReadContextComplex.cs
- SQLByteStorage.cs
- RankException.cs
- LogEntry.cs
- SweepDirectionValidation.cs
- SchemaElementDecl.cs
- DesignerActionListCollection.cs
- AttachedPropertyInfo.cs
- SQLInt64Storage.cs
- DetailsViewUpdatedEventArgs.cs
- HttpConfigurationSystem.cs
- DeploymentSection.cs
- NavigationWindow.cs
- Point3DKeyFrameCollection.cs
- MultiAsyncResult.cs
- PreservationFileReader.cs
- ComPlusDiagnosticTraceSchemas.cs
- DataGridCellsPresenter.cs
- TypeReference.cs
- ParseChildrenAsPropertiesAttribute.cs
- HtmlString.cs
- PropertyTab.cs
- SqlXmlStorage.cs
- MissingMethodException.cs
- SweepDirectionValidation.cs
- PreProcessInputEventArgs.cs
- IIS7WorkerRequest.cs
- SQLChars.cs
- SectionVisual.cs
- DataGridColumnHeaderCollection.cs
- Debug.cs
- WSSecurityXXX2005.cs
- MimeFormatter.cs
- TextureBrush.cs
- ProcessInfo.cs
- DataGridViewColumn.cs
- ArraySubsetEnumerator.cs
- EnlistmentTraceIdentifier.cs
- FixedSOMContainer.cs
- WebPartCollection.cs
- TextSerializer.cs
- AssemblyEvidenceFactory.cs
- ToolStripProgressBar.cs
- DispatcherEventArgs.cs
- AndCondition.cs
- StopStoryboard.cs
- ProjectionCamera.cs
- CancelEventArgs.cs
- DataGridViewCellStyle.cs
- ValuePattern.cs
- AnimationException.cs
- RijndaelManagedTransform.cs
- ModulesEntry.cs
- DataControlField.cs
- DeflateEmulationStream.cs
- TimeSpanOrInfiniteValidator.cs
- Ray3DHitTestResult.cs
- UserControlAutomationPeer.cs
- BooleanAnimationUsingKeyFrames.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- InvalidPrinterException.cs
- AddInStore.cs
- RemoteHelper.cs
- ViewStateChangedEventArgs.cs
- ContentElement.cs
- OleDbReferenceCollection.cs
- PrincipalPermission.cs
- XPathParser.cs