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
- HeaderedItemsControl.cs
- WebPartDesigner.cs
- XPathNavigatorKeyComparer.cs
- peersecuritysettings.cs
- AppDomainProtocolHandler.cs
- CachedCompositeFamily.cs
- ReservationNotFoundException.cs
- CompilerState.cs
- CompareValidator.cs
- ToggleProviderWrapper.cs
- DataGridViewCellConverter.cs
- ClearTypeHintValidation.cs
- HyperLinkStyle.cs
- SoapCodeExporter.cs
- WmfPlaceableFileHeader.cs
- columnmapkeybuilder.cs
- VScrollBar.cs
- Errors.cs
- ReliabilityContractAttribute.cs
- XmlWrappingWriter.cs
- DateTimePicker.cs
- EventDescriptorCollection.cs
- ImageInfo.cs
- InfoCard.cs
- SmtpAuthenticationManager.cs
- CodeSnippetExpression.cs
- WindowsFormsSectionHandler.cs
- EnumValidator.cs
- TextMessageEncodingElement.cs
- TabItemWrapperAutomationPeer.cs
- VisualStyleElement.cs
- DataGridToolTip.cs
- WorkflowShape.cs
- precedingquery.cs
- XamlDesignerSerializationManager.cs
- ConnectorRouter.cs
- XmlSchemaAny.cs
- BoundPropertyEntry.cs
- Rotation3DAnimation.cs
- DateTimeFormatInfoScanner.cs
- SecurityPolicySection.cs
- ReadWriteControlDesigner.cs
- SqlClientPermission.cs
- WindowsFormsSynchronizationContext.cs
- SoapIgnoreAttribute.cs
- XmlNodeChangedEventManager.cs
- MessageSmuggler.cs
- CompositeDuplexBindingElement.cs
- IntSecurity.cs
- RangeBaseAutomationPeer.cs
- PolicyManager.cs
- CoTaskMemSafeHandle.cs
- MsmqAppDomainProtocolHandler.cs
- dbenumerator.cs
- Vector3dCollection.cs
- Brush.cs
- ProcessManager.cs
- TrackBar.cs
- NumberFunctions.cs
- BackStopAuthenticationModule.cs
- UserNamePasswordClientCredential.cs
- ipaddressinformationcollection.cs
- ProcessHostServerConfig.cs
- SmiXetterAccessMap.cs
- SerialErrors.cs
- RayMeshGeometry3DHitTestResult.cs
- DispatcherEventArgs.cs
- FtpCachePolicyElement.cs
- PaperSize.cs
- DefaultCommandExtensionCallback.cs
- MsmqPoisonMessageException.cs
- DynamicControl.cs
- SafeHandles.cs
- TemplatedWizardStep.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- WebBaseEventKeyComparer.cs
- WebBrowserHelper.cs
- DataGridViewRowConverter.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- XsltContext.cs
- NativeMethods.cs
- SocketPermission.cs
- ScriptReferenceEventArgs.cs
- FamilyTypefaceCollection.cs
- DataSvcMapFile.cs
- FormatSettings.cs
- URL.cs
- ResetableIterator.cs
- DependencyPropertyConverter.cs
- FaultDescription.cs
- DCSafeHandle.cs
- SamlDelegatingWriter.cs
- GenericEnumConverter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ActivityInstanceMap.cs
- OperationGenerator.cs
- RoleGroupCollection.cs
- BindUriHelper.cs
- EmissiveMaterial.cs
- SchemaImporter.cs