Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / System / Configuration / ConfigXmlElement.cs / 1 / 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
- PasswordPropertyTextAttribute.cs
- RepeatButtonAutomationPeer.cs
- DbConnectionPoolGroup.cs
- AdornerHitTestResult.cs
- QueueSurrogate.cs
- Crypto.cs
- Vars.cs
- MemberRestriction.cs
- XhtmlBasicLiteralTextAdapter.cs
- ParserExtension.cs
- EditorAttributeInfo.cs
- Dynamic.cs
- GraphicsContainer.cs
- SqlDelegatedTransaction.cs
- DecoderFallbackWithFailureFlag.cs
- SecurityDocument.cs
- OutgoingWebResponseContext.cs
- MaskedTextProvider.cs
- RootProfilePropertySettingsCollection.cs
- XmlDesignerDataSourceView.cs
- LogFlushAsyncResult.cs
- Executor.cs
- FixedSOMContainer.cs
- FlatButtonAppearance.cs
- Latin1Encoding.cs
- EntityStoreSchemaFilterEntry.cs
- ManifestResourceInfo.cs
- ValueTypePropertyReference.cs
- ReadOnlyHierarchicalDataSource.cs
- SerializationFieldInfo.cs
- HierarchicalDataBoundControl.cs
- MetabaseServerConfig.cs
- InputScopeNameConverter.cs
- Stackframe.cs
- ViewPort3D.cs
- StreamReader.cs
- RC2.cs
- Flattener.cs
- PackagePart.cs
- WebPartMovingEventArgs.cs
- Single.cs
- PropertyConverter.cs
- GridView.cs
- StringConcat.cs
- BufferModesCollection.cs
- XmlNamespaceMapping.cs
- Debug.cs
- CodeParameterDeclarationExpressionCollection.cs
- BitmapEffectDrawingContent.cs
- DuplicateDetector.cs
- SyndicationSerializer.cs
- BitmapEffectState.cs
- UrlAuthFailedErrorFormatter.cs
- DataGridColumnReorderingEventArgs.cs
- LogicalExpr.cs
- Control.cs
- MatrixIndependentAnimationStorage.cs
- GridViewCellAutomationPeer.cs
- QilList.cs
- DeclarationUpdate.cs
- AppSettings.cs
- CheckBoxStandardAdapter.cs
- ProxyDataContractResolver.cs
- ShapeTypeface.cs
- HttpHandlerAction.cs
- GlyphRun.cs
- SolidColorBrush.cs
- ServiceHttpModule.cs
- streamingZipPartStream.cs
- XmlSerializationReader.cs
- DefaultObjectMappingItemCollection.cs
- DynamicUpdateCommand.cs
- DescendantQuery.cs
- DataTableTypeConverter.cs
- PointAnimationUsingKeyFrames.cs
- GeneralTransformGroup.cs
- TreeIterators.cs
- CultureInfo.cs
- IndentTextWriter.cs
- FieldAccessException.cs
- Hashtable.cs
- VerificationAttribute.cs
- CompositeCollection.cs
- SqlDataSourceEnumerator.cs
- CombinedHttpChannel.cs
- SplashScreenNativeMethods.cs
- TransactionManager.cs
- DateTimePicker.cs
- EventMappingSettings.cs
- FocusManager.cs
- TdsParserStaticMethods.cs
- TargetException.cs
- CloudCollection.cs
- MethodImplAttribute.cs
- WindowsSolidBrush.cs
- BindingContext.cs
- CompilerError.cs
- DefaultAssemblyResolver.cs
- DataTrigger.cs
- ResponseStream.cs