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
- DeviceContext.cs
- DesignerAttribute.cs
- Query.cs
- Codec.cs
- SAPIEngineTypes.cs
- GetIndexBinder.cs
- ModelItem.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TextUtf8RawTextWriter.cs
- XmlDesignerDataSourceView.cs
- SafeEventHandle.cs
- TreeViewEvent.cs
- CompositeControlDesigner.cs
- SharedPersonalizationStateInfo.cs
- DiffuseMaterial.cs
- ControlCachePolicy.cs
- WarningException.cs
- FrameworkTextComposition.cs
- Geometry3D.cs
- WaitHandle.cs
- UnaryNode.cs
- DnsEndpointIdentity.cs
- TreeChangeInfo.cs
- BitmapEffectGeneralTransform.cs
- ImageFormat.cs
- OracleRowUpdatingEventArgs.cs
- MSHTMLHost.cs
- SupportingTokenDuplexChannel.cs
- TextEditorCopyPaste.cs
- EncoderFallback.cs
- FaultCode.cs
- ScriptResourceAttribute.cs
- EventListener.cs
- _UncName.cs
- LastQueryOperator.cs
- SHA256Managed.cs
- validation.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TextRunProperties.cs
- SQLRoleProvider.cs
- OrderByLifter.cs
- Context.cs
- SQLRoleProvider.cs
- LinearKeyFrames.cs
- UmAlQuraCalendar.cs
- XamlTemplateSerializer.cs
- NumericUpDownAccelerationCollection.cs
- FilterableData.cs
- SinglePageViewer.cs
- StrokeCollection.cs
- ThrowHelper.cs
- CalendarSelectionChangedEventArgs.cs
- SHA1.cs
- ContainerVisual.cs
- cache.cs
- Mutex.cs
- SetterBase.cs
- AuthenticationConfig.cs
- SectionUpdates.cs
- clipboard.cs
- DataGridState.cs
- NullNotAllowedCollection.cs
- WebHttpBinding.cs
- Rect3D.cs
- RemotingConfiguration.cs
- WriteFileContext.cs
- PortCache.cs
- EditorPartCollection.cs
- RegexStringValidator.cs
- ObjectReaderCompiler.cs
- SpecialFolderEnumConverter.cs
- ConfigurationStrings.cs
- XmlRawWriter.cs
- TypeLibConverter.cs
- FastEncoder.cs
- Stack.cs
- SecUtil.cs
- CompiledQueryCacheKey.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SqlUDTStorage.cs
- ButtonFieldBase.cs
- NameValueCollection.cs
- DelegateSerializationHolder.cs
- SocketException.cs
- LabelAutomationPeer.cs
- Win32KeyboardDevice.cs
- SafeSecurityHelper.cs
- WindowsSlider.cs
- SchemaCollectionPreprocessor.cs
- NGCSerializer.cs
- UriPrefixTable.cs
- LateBoundBitmapDecoder.cs
- CallbackException.cs
- FixedTextBuilder.cs
- AttachedAnnotation.cs
- RelationshipType.cs
- ModuleBuilderData.cs
- GroupItemAutomationPeer.cs
- FontFamily.cs
- XmlCountingReader.cs