Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlCDataSection.cs / 1305376 / 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
- BaseConfigurationRecord.cs
- PenCursorManager.cs
- DataGridViewColumnStateChangedEventArgs.cs
- TextDecoration.cs
- DataColumnCollection.cs
- ScrollContentPresenter.cs
- KeyValuePair.cs
- ActivityBindForm.cs
- DataRowView.cs
- ToolTipAutomationPeer.cs
- TextShapeableCharacters.cs
- Variant.cs
- TextEncodedRawTextWriter.cs
- DelegateSerializationHolder.cs
- LookupBindingPropertiesAttribute.cs
- QuotedStringWriteStateInfo.cs
- CheckBox.cs
- Point3DCollection.cs
- SweepDirectionValidation.cs
- EntityDataSource.cs
- RectKeyFrameCollection.cs
- GridViewRowPresenterBase.cs
- NegotiateStream.cs
- ComboBoxItem.cs
- MultiplexingDispatchMessageFormatter.cs
- AutomationProperty.cs
- DataObjectCopyingEventArgs.cs
- DataGridViewColumnCollection.cs
- Span.cs
- TraceUtility.cs
- SqlTypesSchemaImporter.cs
- Relationship.cs
- FormsAuthenticationModule.cs
- XmlSchemaSimpleTypeRestriction.cs
- CircleHotSpot.cs
- XPathNodeList.cs
- SafeProcessHandle.cs
- TTSVoice.cs
- CodeTypeDeclarationCollection.cs
- MonitoringDescriptionAttribute.cs
- SatelliteContractVersionAttribute.cs
- CommandField.cs
- SqlProfileProvider.cs
- BufferAllocator.cs
- TypedServiceOperationListItem.cs
- RoleService.cs
- Configuration.cs
- SocketException.cs
- DataError.cs
- Point3DCollectionConverter.cs
- BinarySecretSecurityToken.cs
- Debug.cs
- WebResourceAttribute.cs
- WebServiceHost.cs
- RandomNumberGenerator.cs
- CodeCastExpression.cs
- CodeTypeDeclaration.cs
- HtmlTableRowCollection.cs
- TypeSystem.cs
- Encoder.cs
- EventProvider.cs
- WebPartEditorCancelVerb.cs
- ConstraintEnumerator.cs
- AnnotationHighlightLayer.cs
- CollectionChange.cs
- ListCommandEventArgs.cs
- HttpListenerRequestUriBuilder.cs
- ResourceDescriptionAttribute.cs
- PKCS1MaskGenerationMethod.cs
- OpenTypeLayout.cs
- IPCCacheManager.cs
- basemetadatamappingvisitor.cs
- _ListenerAsyncResult.cs
- XDRSchema.cs
- AudienceUriMode.cs
- CharAnimationUsingKeyFrames.cs
- WebDisplayNameAttribute.cs
- AutomationProperty.cs
- Emitter.cs
- AssemblyEvidenceFactory.cs
- ClientData.cs
- DrawingContextDrawingContextWalker.cs
- FrameworkTemplate.cs
- WebConfigurationManager.cs
- PipeConnection.cs
- DbExpressionRules.cs
- LabelDesigner.cs
- XhtmlConformanceSection.cs
- RegexBoyerMoore.cs
- XmlObjectSerializerWriteContextComplex.cs
- TimeEnumHelper.cs
- LicenseManager.cs
- GestureRecognizer.cs
- BufferedGraphicsContext.cs
- HandleExceptionArgs.cs
- SafeNativeMethods.cs
- IndexOutOfRangeException.cs
- WarningException.cs
- MemberHolder.cs
- DocumentPageHost.cs