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 / ConfigXmlCDataSection.cs / 1 / ConfigXmlCDataSection.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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, 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); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, 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); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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
- SecurityTokenAuthenticator.cs
- DelegatingConfigHost.cs
- NameValueCollection.cs
- ManifestSignedXml.cs
- ToolStripTemplateNode.cs
- OrderByBuilder.cs
- QilUnary.cs
- XmlSchemaParticle.cs
- TagMapInfo.cs
- ClientSideQueueItem.cs
- ProfileSettings.cs
- Message.cs
- TogglePattern.cs
- ButtonColumn.cs
- RemoteWebConfigurationHostServer.cs
- ClientBase.cs
- XmlDocumentSerializer.cs
- PropertyPushdownHelper.cs
- PersonalizableTypeEntry.cs
- MimeWriter.cs
- XmlTypeMapping.cs
- PageThemeBuildProvider.cs
- SymLanguageVendor.cs
- ModifiableIteratorCollection.cs
- Figure.cs
- PageClientProxyGenerator.cs
- CreationContext.cs
- XmlNavigatorFilter.cs
- AuthorizationRuleCollection.cs
- Task.cs
- WMIInterop.cs
- ItemMap.cs
- RenderData.cs
- XmlImplementation.cs
- SiteMapDataSource.cs
- HttpDebugHandler.cs
- XmlSchemaParticle.cs
- AsynchronousChannel.cs
- XmlAttributeProperties.cs
- FactoryGenerator.cs
- BaseTemplateParser.cs
- TraceUtils.cs
- Pts.cs
- AQNBuilder.cs
- ApplicationContext.cs
- ProcessInfo.cs
- SplitterEvent.cs
- AbstractSvcMapFileLoader.cs
- ExcCanonicalXml.cs
- TimeStampChecker.cs
- EventPrivateKey.cs
- DesignerObject.cs
- ConstructorExpr.cs
- Axis.cs
- DbQueryCommandTree.cs
- Vector.cs
- DataPagerField.cs
- XPathSelfQuery.cs
- HttpListenerContext.cs
- SmiRequestExecutor.cs
- Walker.cs
- ReadWriteSpinLock.cs
- PolyBezierSegment.cs
- MissingMemberException.cs
- ScrollViewer.cs
- TextBoxView.cs
- ResourcePermissionBaseEntry.cs
- DBConnectionString.cs
- OperatingSystemVersionCheck.cs
- Rotation3DAnimation.cs
- LicenseException.cs
- EndpointDispatcher.cs
- RawUIStateInputReport.cs
- KeyFrames.cs
- Normalizer.cs
- NonValidatingSecurityTokenAuthenticator.cs
- DataSetViewSchema.cs
- Win32.cs
- PathSegmentCollection.cs
- XPathNavigatorReader.cs
- LoginDesigner.cs
- SchemaInfo.cs
- Quaternion.cs
- JsonFormatWriterGenerator.cs
- StructuralType.cs
- InputMethodStateChangeEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- SessionEndedEventArgs.cs
- BinarySerializer.cs
- SystemKeyConverter.cs
- SerializerDescriptor.cs
- HwndProxyElementProvider.cs
- Image.cs
- NoneExcludedImageIndexConverter.cs
- ObjectListCommandsPage.cs
- DataBoundLiteralControl.cs
- FormDesigner.cs
- WizardStepCollectionEditor.cs
- QilTargetType.cs
- TagPrefixInfo.cs