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
- PathSegment.cs
- Stackframe.cs
- CharEntityEncoderFallback.cs
- XmlExceptionHelper.cs
- ProjectionCamera.cs
- ModelItemExtensions.cs
- SelectionEditingBehavior.cs
- PropertyEntry.cs
- CompositeDataBoundControl.cs
- SizeConverter.cs
- _ContextAwareResult.cs
- SerialPort.cs
- HostElement.cs
- CustomLineCap.cs
- QueryContinueDragEventArgs.cs
- CodeStatementCollection.cs
- OleServicesContext.cs
- GridViewUpdatedEventArgs.cs
- TypeToken.cs
- HashCodeCombiner.cs
- AttributeData.cs
- ParseHttpDate.cs
- DocumentViewerBase.cs
- UnsafeNativeMethods.cs
- String.cs
- TypefaceMetricsCache.cs
- ErrorWrapper.cs
- GatewayDefinition.cs
- QueryRewriter.cs
- ObjectViewListener.cs
- ExternalCalls.cs
- X509SubjectKeyIdentifierClause.cs
- XPathSelfQuery.cs
- ParserContext.cs
- MappingException.cs
- SchemaTypeEmitter.cs
- HttpServerProtocol.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ServiceNameElement.cs
- Identifier.cs
- ExitEventArgs.cs
- SymmetricSecurityProtocol.cs
- ParentUndoUnit.cs
- FilterQuery.cs
- ReplyChannelAcceptor.cs
- ReferencedType.cs
- MouseActionConverter.cs
- InstrumentationTracker.cs
- AliasedSlot.cs
- ImportStoreException.cs
- PeerTransportElement.cs
- HWStack.cs
- CompiledQuery.cs
- EventLogger.cs
- TraceContextRecord.cs
- ViewManagerAttribute.cs
- DirectoryObjectSecurity.cs
- StrokeNodeOperations2.cs
- ProvidersHelper.cs
- PeerTransportBindingElement.cs
- Normalizer.cs
- ImplicitInputBrush.cs
- dbdatarecord.cs
- ASCIIEncoding.cs
- FixedSOMContainer.cs
- ToolStripKeyboardHandlingService.cs
- SplitterPanel.cs
- PropertyGridEditorPart.cs
- EnvironmentPermission.cs
- PropagatorResult.cs
- TagMapInfo.cs
- WebSysDisplayNameAttribute.cs
- IncrementalReadDecoders.cs
- BaseCAMarshaler.cs
- DataBindEngine.cs
- ContainerTracking.cs
- EventLogPropertySelector.cs
- DelegateSerializationHolder.cs
- SHA384Managed.cs
- AudioFileOut.cs
- DrawingContextDrawingContextWalker.cs
- XmlMembersMapping.cs
- MemberDescriptor.cs
- Select.cs
- SimpleWorkerRequest.cs
- CodeTryCatchFinallyStatement.cs
- DiagnosticsConfigurationHandler.cs
- CollectionTypeElement.cs
- StateDesigner.LayoutSelectionGlyph.cs
- SEHException.cs
- AttributeCollection.cs
- TimeSpanOrInfiniteConverter.cs
- SqlCommandAsyncResult.cs
- ConsoleTraceListener.cs
- HtmlTableRowCollection.cs
- XmlQueryOutput.cs
- DocumentEventArgs.cs
- CounterCreationDataCollection.cs
- EncodingNLS.cs
- XmlBaseReader.cs