Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecuritySessionSecurityTokenAuthenticator.cs
- TextFormatter.cs
- Object.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SimpleApplicationHost.cs
- StdValidatorsAndConverters.cs
- EditorZoneBase.cs
- DecoderReplacementFallback.cs
- RuleSettingsCollection.cs
- RepeatButton.cs
- ManagementDateTime.cs
- SqlExpander.cs
- DynamicHyperLink.cs
- FrugalList.cs
- Expression.cs
- HwndTarget.cs
- Axis.cs
- EncodingNLS.cs
- TypedRowHandler.cs
- System.Data_BID.cs
- HtmlInputControl.cs
- AvTraceDetails.cs
- APCustomTypeDescriptor.cs
- SQLCharsStorage.cs
- XmlProcessingInstruction.cs
- ExpandSegmentCollection.cs
- ResourceSetExpression.cs
- StylusPointProperties.cs
- FixedDocumentSequencePaginator.cs
- KeyboardDevice.cs
- XmlSchemaValidationException.cs
- SQLInt16Storage.cs
- Literal.cs
- ConfigurationStrings.cs
- GC.cs
- AstNode.cs
- HttpInputStream.cs
- ImageField.cs
- HostProtectionPermission.cs
- Label.cs
- XmlUrlResolver.cs
- XmlSchemaAny.cs
- TrackingMemoryStream.cs
- FrugalList.cs
- TextBoxAutoCompleteSourceConverter.cs
- Registry.cs
- SafeHandles.cs
- EntityKeyElement.cs
- _DigestClient.cs
- KeyTime.cs
- ButtonBase.cs
- KeyValuePair.cs
- ReflectionTypeLoadException.cs
- BezierSegment.cs
- DataQuery.cs
- DSACryptoServiceProvider.cs
- WebMessageEncoderFactory.cs
- ItemList.cs
- ObjectContextServiceProvider.cs
- BasePropertyDescriptor.cs
- CodeDesigner.cs
- EntitySetDataBindingList.cs
- SendingRequestEventArgs.cs
- SqlInternalConnectionSmi.cs
- ConstructorBuilder.cs
- StdRegProviderWrapper.cs
- RegexBoyerMoore.cs
- DelegateBodyWriter.cs
- MapPathBasedVirtualPathProvider.cs
- OracleBinary.cs
- WebBrowserEvent.cs
- DataGridColumnEventArgs.cs
- DataGridItemCollection.cs
- ComponentGlyph.cs
- XmlWrappingReader.cs
- SetStateEventArgs.cs
- TraceHandlerErrorFormatter.cs
- MemoryMappedViewStream.cs
- TimeIntervalCollection.cs
- SqlBinder.cs
- ButtonChrome.cs
- SelfIssuedTokenFactoryCredential.cs
- ImageField.cs
- ToolStripItemEventArgs.cs
- TextCompositionEventArgs.cs
- WorkflowRuntimeService.cs
- HttpSessionStateWrapper.cs
- PageBreakRecord.cs
- WorkerRequest.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- FastEncoder.cs
- ItemCheckedEvent.cs
- DesignerSelectionListAdapter.cs
- ComProxy.cs
- QueryPageSettingsEventArgs.cs
- CryptoConfig.cs
- SvcMapFileSerializer.cs
- GregorianCalendarHelper.cs
- RelOps.cs
- IsolatedStorageFileStream.cs