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
- ScrollProperties.cs
- AmbiguousMatchException.cs
- DBCommand.cs
- SchemaEntity.cs
- UnsafeNativeMethods.cs
- CharEntityEncoderFallback.cs
- RealProxy.cs
- Point.cs
- WizardStepBase.cs
- _NTAuthentication.cs
- UndoEngine.cs
- ScriptingJsonSerializationSection.cs
- UrlMapping.cs
- PngBitmapEncoder.cs
- ImpersonateTokenRef.cs
- MenuItemCollection.cs
- WorkflowApplicationException.cs
- TCPListener.cs
- XmlChildEnumerator.cs
- SectionInput.cs
- SortFieldComparer.cs
- RuleEngine.cs
- DisposableCollectionWrapper.cs
- CodeMethodMap.cs
- SamlSubjectStatement.cs
- ResponseBodyWriter.cs
- NonSerializedAttribute.cs
- QilCloneVisitor.cs
- HttpServerUtilityWrapper.cs
- OdbcHandle.cs
- LineSegment.cs
- AutoSizeComboBox.cs
- WhiteSpaceTrimStringConverter.cs
- SqlCacheDependencyDatabaseCollection.cs
- SmiMetaData.cs
- GACMembershipCondition.cs
- SqlDependencyListener.cs
- GradientSpreadMethodValidation.cs
- AttributeParameterInfo.cs
- ObjectResult.cs
- SocketPermission.cs
- ListViewGroupCollectionEditor.cs
- ObfuscationAttribute.cs
- BCLDebug.cs
- CapabilitiesPattern.cs
- LinkTarget.cs
- streamingZipPartStream.cs
- AvtEvent.cs
- ReferentialConstraint.cs
- MaskedTextBoxDesigner.cs
- SiteMembershipCondition.cs
- Currency.cs
- XDRSchema.cs
- DoubleAnimation.cs
- ScriptRegistrationManager.cs
- AppDomain.cs
- PlatformNotSupportedException.cs
- DataKeyArray.cs
- Gdiplus.cs
- RightsManagementEncryptedStream.cs
- XPathDescendantIterator.cs
- CompilerScope.Storage.cs
- RecommendedAsConfigurableAttribute.cs
- ConsumerConnectionPoint.cs
- SoapSchemaImporter.cs
- LoginName.cs
- FormsAuthenticationConfiguration.cs
- SplineKeyFrames.cs
- OrderedDictionary.cs
- SplashScreenNativeMethods.cs
- ToolStripSeparatorRenderEventArgs.cs
- AuditLogLocation.cs
- CodeGotoStatement.cs
- NamedPipeAppDomainProtocolHandler.cs
- WebPartExportVerb.cs
- TripleDESCryptoServiceProvider.cs
- BitmapVisualManager.cs
- EncryptedXml.cs
- ConfigurationValues.cs
- ChannelServices.cs
- ByteAnimationBase.cs
- EventLogInformation.cs
- elementinformation.cs
- FileDialog_Vista_Interop.cs
- Compress.cs
- ControlPropertyNameConverter.cs
- IISMapPath.cs
- Effect.cs
- FixedSOMGroup.cs
- ConfigurationElementCollection.cs
- ListItem.cs
- KeyConstraint.cs
- HtmlElementErrorEventArgs.cs
- SourceFileBuildProvider.cs
- FontUnit.cs
- NamedPipeAppDomainProtocolHandler.cs
- TaskFileService.cs
- DSASignatureFormatter.cs
- DataSet.cs
- QueryActivatableWorkflowsCommand.cs