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
- MenuItem.cs
- BmpBitmapEncoder.cs
- BitStack.cs
- XmlSchemaSimpleTypeRestriction.cs
- SerializationInfo.cs
- SqlDataSourceEnumerator.cs
- TextPointerBase.cs
- DataGridViewDataErrorEventArgs.cs
- GlyphTypeface.cs
- GeometryGroup.cs
- XmlSchemaValidationException.cs
- IgnoreFlushAndCloseStream.cs
- TreeView.cs
- CodeSpit.cs
- ItemCollectionEditor.cs
- PathFigure.cs
- GridViewSelectEventArgs.cs
- DefaultBindingPropertyAttribute.cs
- XmlSchemaGroup.cs
- TaskbarItemInfo.cs
- SchemaElement.cs
- OleDbErrorCollection.cs
- WebPartConnectionsConfigureVerb.cs
- SoapInteropTypes.cs
- SQLMoneyStorage.cs
- TransformGroup.cs
- SerialPort.cs
- Sql8ExpressionRewriter.cs
- SimpleExpression.cs
- SmtpFailedRecipientsException.cs
- elementinformation.cs
- PartialCachingAttribute.cs
- Message.cs
- StrokeFIndices.cs
- ListSortDescription.cs
- Attributes.cs
- DataObjectCopyingEventArgs.cs
- ConfigurationProperty.cs
- Invariant.cs
- TranslateTransform3D.cs
- ResourcePermissionBase.cs
- GifBitmapEncoder.cs
- CanonicalXml.cs
- FamilyCollection.cs
- Byte.cs
- X509Utils.cs
- PassportAuthenticationEventArgs.cs
- ContextMenuStripActionList.cs
- Literal.cs
- Simplifier.cs
- NamedObject.cs
- TextContainerChangedEventArgs.cs
- ToolstripProfessionalRenderer.cs
- DateTimeParse.cs
- PlaceHolder.cs
- MsmqIntegrationInputMessage.cs
- WorkflowCommandExtensionItem.cs
- OdbcReferenceCollection.cs
- Bind.cs
- XmlDocumentFragment.cs
- TraceData.cs
- UdpConstants.cs
- DataSourceView.cs
- ParameterCollection.cs
- SafeTokenHandle.cs
- HandlerWithFactory.cs
- DataGridColumnHeaderCollection.cs
- DelegatingTypeDescriptionProvider.cs
- CommandTreeTypeHelper.cs
- _SingleItemRequestCache.cs
- EventProviderWriter.cs
- RadioButtonAutomationPeer.cs
- CodeConditionStatement.cs
- StateItem.cs
- PerformanceCounterPermissionAttribute.cs
- DataGridPagerStyle.cs
- odbcmetadatafactory.cs
- DrawingState.cs
- CaseStatementProjectedSlot.cs
- Publisher.cs
- TextInfo.cs
- DefaultParameterValueAttribute.cs
- DataTableTypeConverter.cs
- MetabaseReader.cs
- HandledEventArgs.cs
- OlePropertyStructs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- TriggerBase.cs
- InternalSafeNativeMethods.cs
- ExceptionHandlersDesigner.cs
- UnknownBitmapEncoder.cs
- GB18030Encoding.cs
- IssuedTokensHeader.cs
- ScriptManager.cs
- IPPacketInformation.cs
- NamespaceCollection.cs
- ResourceExpressionBuilder.cs
- InstanceCreationEditor.cs
- CoTaskMemHandle.cs
- codemethodreferenceexpression.cs