Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlElement.cs / 1305376 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- BindingExpressionBase.cs
- EventProviderWriter.cs
- BaseTreeIterator.cs
- PrtTicket_Public.cs
- DateTimeEditor.cs
- DataSourceHelper.cs
- CultureInfoConverter.cs
- JavaScriptSerializer.cs
- CalendarDateRange.cs
- CompilationRelaxations.cs
- EventWaitHandle.cs
- ResourceBinder.cs
- FontNamesConverter.cs
- DesignerSerializerAttribute.cs
- WizardForm.cs
- PropertyValueUIItem.cs
- PropertyEmitterBase.cs
- AssemblyUtil.cs
- XmlResolver.cs
- OdbcEnvironmentHandle.cs
- GridItemProviderWrapper.cs
- IdleTimeoutMonitor.cs
- SignedInfo.cs
- EastAsianLunisolarCalendar.cs
- FunctionCommandText.cs
- DeferredSelectedIndexReference.cs
- WebPartConnectionsCancelEventArgs.cs
- SoapDocumentMethodAttribute.cs
- DesignerDataView.cs
- AlternationConverter.cs
- XmlArrayItemAttributes.cs
- EdmScalarPropertyAttribute.cs
- TextPattern.cs
- HwndSource.cs
- COM2TypeInfoProcessor.cs
- SchemaSetCompiler.cs
- SafeHandle.cs
- Enlistment.cs
- BaseCollection.cs
- PerspectiveCamera.cs
- MatrixTransform.cs
- InputQueueChannel.cs
- HMACSHA512.cs
- ReadOnlyNameValueCollection.cs
- DispatcherEventArgs.cs
- ConfigurationStrings.cs
- PreProcessInputEventArgs.cs
- BrowserInteropHelper.cs
- FolderBrowserDialog.cs
- UIElementCollection.cs
- PeerApplicationLaunchInfo.cs
- BamlLocalizableResource.cs
- FileSystemInfo.cs
- EmptyElement.cs
- DesignerDataStoredProcedure.cs
- CodeExpressionRuleDeclaration.cs
- Match.cs
- ParameterDataSourceExpression.cs
- Page.cs
- SessionStateModule.cs
- BindingExpressionBase.cs
- ResourceType.cs
- GeneralTransform3DGroup.cs
- AnnotationMap.cs
- DesignSurfaceManager.cs
- rsa.cs
- _NestedSingleAsyncResult.cs
- CatalogPart.cs
- TextServicesManager.cs
- DataGridAddNewRow.cs
- GCHandleCookieTable.cs
- RSAPKCS1SignatureFormatter.cs
- XmlSchemaImporter.cs
- XPathEmptyIterator.cs
- Size3DConverter.cs
- DataRowComparer.cs
- CustomAssemblyResolver.cs
- DataSysAttribute.cs
- JsonGlobals.cs
- SimpleTypeResolver.cs
- WpfKnownType.cs
- TextDecorationCollectionConverter.cs
- ContextMarshalException.cs
- httpapplicationstate.cs
- BinarySerializer.cs
- GroupItemAutomationPeer.cs
- NaturalLanguageHyphenator.cs
- DelegatingConfigHost.cs
- ConfigXmlAttribute.cs
- XamlInt32CollectionSerializer.cs
- Keywords.cs
- WebBrowserSiteBase.cs
- InfoCardTrace.cs
- WorkflowViewManager.cs
- UnionCqlBlock.cs
- SpellerInterop.cs
- DrawingBrush.cs
- LinqDataSourceEditData.cs
- TransactionFlowBindingElementImporter.cs
- Token.cs