Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- XmlProcessingInstruction.cs
- HttpContextBase.cs
- CapacityStreamGeometryContext.cs
- NegatedCellConstant.cs
- SimpleMailWebEventProvider.cs
- MaskedTextBoxTextEditor.cs
- Helper.cs
- OverflowException.cs
- PaintEvent.cs
- HitTestWithPointDrawingContextWalker.cs
- Baml6ConstructorInfo.cs
- Transform3D.cs
- Instrumentation.cs
- SystemKeyConverter.cs
- EditBehavior.cs
- DesignerActionItem.cs
- ProfileSection.cs
- FixUp.cs
- HttpRawResponse.cs
- ToolStripSystemRenderer.cs
- ThicknessKeyFrameCollection.cs
- SortFieldComparer.cs
- RoutedEventValueSerializer.cs
- VersionedStreamOwner.cs
- SimpleHandlerFactory.cs
- SourceChangedEventArgs.cs
- GeometryCollection.cs
- MediaSystem.cs
- OleDbErrorCollection.cs
- BaseProcessor.cs
- EntityTypeEmitter.cs
- Metafile.cs
- CredentialCache.cs
- ToolboxDataAttribute.cs
- ScrollContentPresenter.cs
- XmlCDATASection.cs
- sqlpipe.cs
- WebPartConnectionsCancelVerb.cs
- GeneralTransform3DGroup.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SharedDp.cs
- SettingsSavedEventArgs.cs
- SectionRecord.cs
- XsltFunctions.cs
- SqlFactory.cs
- DataColumnChangeEvent.cs
- ProcessThread.cs
- PerformanceCounterPermissionEntry.cs
- HtmlTable.cs
- SafeProcessHandle.cs
- AutomationAttributeInfo.cs
- RpcAsyncResult.cs
- PrintEvent.cs
- CollectionViewProxy.cs
- XmlObjectSerializerWriteContextComplex.cs
- DataObjectAttribute.cs
- EncoderParameters.cs
- Storyboard.cs
- ItemContainerGenerator.cs
- MetadataArtifactLoader.cs
- HttpContextServiceHost.cs
- ProjectedSlot.cs
- DataServiceCollectionOfT.cs
- HttpGetClientProtocol.cs
- TreeNode.cs
- ParserHooks.cs
- DataGridRowDetailsEventArgs.cs
- SqlProviderManifest.cs
- FixedTextPointer.cs
- CodeAccessSecurityEngine.cs
- PageContentAsyncResult.cs
- DivideByZeroException.cs
- MatchingStyle.cs
- CodeTypeMemberCollection.cs
- WindowsListViewSubItem.cs
- RequestUriProcessor.cs
- DataBoundControlActionList.cs
- ReferenceAssemblyAttribute.cs
- UserPreferenceChangingEventArgs.cs
- CodeDelegateInvokeExpression.cs
- RoutingConfiguration.cs
- IPHostEntry.cs
- KoreanCalendar.cs
- ReachDocumentPageSerializer.cs
- DependencyPropertyConverter.cs
- EntityParameter.cs
- ReadWriteSpinLock.cs
- WebPartAuthorizationEventArgs.cs
- DirectoryObjectSecurity.cs
- UnknownWrapper.cs
- FormViewModeEventArgs.cs
- CompensableActivity.cs
- MemberMemberBinding.cs
- RectAnimationClockResource.cs
- ToolboxItemFilterAttribute.cs
- PackWebRequestFactory.cs
- InkCollectionBehavior.cs
- NativeRightsManagementAPIsStructures.cs
- Vector3DCollectionConverter.cs
- Rethrow.cs