Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- StyleBamlTreeBuilder.cs
- MarkerProperties.cs
- DiagnosticStrings.cs
- X509ChainPolicy.cs
- ResourceReferenceExpressionConverter.cs
- x509utils.cs
- _NtlmClient.cs
- DataGridViewRowsAddedEventArgs.cs
- ContentPresenter.cs
- ClaimSet.cs
- StrokeSerializer.cs
- MimeTypeMapper.cs
- GridLength.cs
- Figure.cs
- AutomationElementCollection.cs
- Baml2006KnownTypes.cs
- XmlMapping.cs
- SqlNamer.cs
- LogicalExpr.cs
- TextEditorParagraphs.cs
- SubMenuStyleCollection.cs
- MergePropertyDescriptor.cs
- XmlProcessingInstruction.cs
- String.cs
- Scanner.cs
- InfoCardAsymmetricCrypto.cs
- DataGridViewImageCell.cs
- UntypedNullExpression.cs
- ScriptingRoleServiceSection.cs
- OutOfProcStateClientManager.cs
- XmlWriter.cs
- DataGridViewBand.cs
- IPHostEntry.cs
- RetrieveVirtualItemEventArgs.cs
- EntityDesignerUtils.cs
- MemberRelationshipService.cs
- StateWorkerRequest.cs
- VersionPair.cs
- HuffmanTree.cs
- Scalars.cs
- EpmCustomContentWriterNodeData.cs
- SimpleExpression.cs
- WebResponse.cs
- SchemaMerger.cs
- ProcessInfo.cs
- DiscoveryReferences.cs
- Metafile.cs
- ConfigXmlDocument.cs
- HeaderedContentControl.cs
- DynamicAttribute.cs
- Stopwatch.cs
- ResXResourceWriter.cs
- ProcessModuleCollection.cs
- MetadataArtifactLoaderComposite.cs
- ApplicationActivator.cs
- ItemsPresenter.cs
- StyleXamlTreeBuilder.cs
- Highlights.cs
- Polyline.cs
- PropertyEmitterBase.cs
- InternalResources.cs
- BlockUIContainer.cs
- TagPrefixCollection.cs
- DbParameterHelper.cs
- StructuralCache.cs
- Stroke.cs
- TimersDescriptionAttribute.cs
- SelectionHighlightInfo.cs
- StringFunctions.cs
- COM2ExtendedTypeConverter.cs
- BrushMappingModeValidation.cs
- DBProviderConfigurationHandler.cs
- OracleInternalConnection.cs
- TreeWalkHelper.cs
- DbConnectionFactory.cs
- ProtocolsConfigurationHandler.cs
- _ShellExpression.cs
- UIElementParagraph.cs
- WebPartsPersonalization.cs
- DotAtomReader.cs
- EdmRelationshipRoleAttribute.cs
- TreeNodeCollection.cs
- DbConnectionInternal.cs
- DTCTransactionManager.cs
- ModuleBuilder.cs
- SoapCodeExporter.cs
- RecipientIdentity.cs
- Win32Native.cs
- PartBasedPackageProperties.cs
- UniqueIdentifierService.cs
- ImageListStreamer.cs
- UInt32Converter.cs
- NumericPagerField.cs
- EditorServiceContext.cs
- WebPartConnectVerb.cs
- Vector3D.cs
- InputProviderSite.cs
- EntityClientCacheKey.cs
- SafeNativeMemoryHandle.cs
- XmlStringTable.cs